- A new
customfield in[package.metadata.aur]which accepts a list of strings that will be added as-is to thepackage()function of the PKGBUILD. This allows the user to add specific extra commands to their build process. See the README for more details.
- The crypt startup error
unexpected free argument aur.
- The
--outputflag for customizing the location of the output produced bycargo 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"
}
- Supply the
urlfrom backup sources ifhomepageis not specified in theCargo.toml.
- 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-aur/to avoid cluttering the top-level of the repo. - Reduced binary size.
- LICENSE file checking is now done via SPDX identifiers.
- 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"]cargo aurnow respectsCARGO_TARGET_DIR. #6
- 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.
cargo aurno longer outputsoptions=("strip"), since this is set by default in/etc/makepkg.conf.
- A
--versionflag to display the current version ofcargo-aur.
- When using
--musl, the user is warned if they don't have thex86_64-unknown-linux-musltarget installed.
- Run
stripon the release binary beforetarring it.
- A breaking bug in
1.1.0which prevented it from working at all.
- The
--muslflag to compile the release binary with the MUSL target. In most cases, this will result in a fully statically linked binary.
- Better release profile which produces smaller binaries.
cargo aurwill now auto-detect the git host (Github or Gitlab) and generated asourcelink based on that.- Fewer dependencies.
- Use
sha256instead ofmd5. - The
installline inpackage()is now more modern as a one-liner.
This is the initial release.