Releases: fosskers/cargo-aur
Releases · fosskers/cargo-aur
1.7.1
1.7.0
Added
- The
--outputflag for customizing the location of the output produced by
cargo aur. If unused, the default remainstarget/cargo-aur/. - A new
filesfield 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
urlfrom backup sources ifhomepageis 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 othercargosubcommands. - The PKGBUILD and tarball are now output to
target/cargo-aurto 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
dependsandoptdependsvia[package.metadata], as in:
[package.metadata]
depends = ["nachos", "pizza"]
optdepends = ["sushi", "ramen"]1.4.1
1.4.0
Added
- The
conflictsfield is now added to thePKGBUILD. - Progress messages in the terminal.
LICENSEdetection and installation. If your Rust crate has a license not found in/usr/share/licenses/common/(likeMIT), thencargo aurwill copy it into the source tarball and have the PKGBUILD install it. Naturally this means you must actually have aLICENSEfile in your project, orcargo aurwill complain.