Releases: fosskers/cargo-aur
Releases · fosskers/cargo-aur
1.7.1
1.7.0
Added
- The
--output
flag for customizing the location of the output produced by
cargo aur
. If unused, the default remainstarget/cargo-aur/
. - A new
files
field in[package.metadata.aur]
, which accepts a list-of-pairs
of additional files you want copied to the user's filesystem upon package
installation. Output looks like:
package() {
install -Dm755 cargo-aur -t "$pkgdir/usr/bin"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 "/path/to/original/foo.txt" "$pkgdir/path/to/target/foo.txt"
}
Fixed
- Supply the
url
from backup sources ifhomepage
is not specified in theCargo.toml
.
1.6.0
Changed
- The
[package.metadata]
section for adding extra dependency information
should now be named[package.metadata.aur]
. The old syntax will still work,
but you will be warned. This fixes a conflict with othercargo
subcommands. - The PKGBUILD and tarball are now output to
target/cargo-aur
to avoid
cluttering the top-level of the repo. - Reduced binary size.
Fixed
- LICENSE file checking is now done via SPDX identifiers.
1.5.0
Added
- Support for
[[bin]]
sections inCargo.toml
, allowing you to specify custom binary names separate from the package name. #13 - Support for specifying PKGBUILD
depends
andoptdepends
via[package.metadata]
, as in:
[package.metadata]
depends = ["nachos", "pizza"]
optdepends = ["sushi", "ramen"]
1.4.1
1.4.0
Added
- The
conflicts
field is now added to thePKGBUILD
. - Progress messages in the terminal.
LICENSE
detection and installation. If your Rust crate has a license not found in/usr/share/licenses/common/
(likeMIT
), thencargo aur
will copy it into the source tarball and have the PKGBUILD install it. Naturally this means you must actually have aLICENSE
file in your project, orcargo aur
will complain.