Skip to content

Releases: fosskers/cargo-aur

1.7.1

18 Mar 00:45
Compare
Choose a tag to compare

Fixed

  • The crypt startup error unexpected free argument aur.

1.7.0

07 Mar 11:45
Compare
Choose a tag to compare

Added

  • The --output flag for customizing the location of the output produced by
    cargo aur. If unused, the default remains target/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 if homepage is not specified in the Cargo.toml.

1.6.0

02 Oct 08:08
Compare
Choose a tag to compare

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 other cargo 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

21 Apr 00:20
Compare
Choose a tag to compare

Added

  • Support for [[bin]] sections in Cargo.toml, allowing you to specify custom binary names separate from the package name. #13
  • Support for specifying PKGBUILD depends and optdepends via [package.metadata], as in:
[package.metadata]
depends = ["nachos", "pizza"]
optdepends = ["sushi", "ramen"]

1.4.1

07 Sep 01:32
Compare
Choose a tag to compare

Fixed

  • cargo aur now respects CARGO_TARGET_DIR. #6

1.4.0

07 Jun 18:00
Compare
Choose a tag to compare

Added

  • The conflicts field is now added to the PKGBUILD.
  • Progress messages in the terminal.
  • LICENSE detection and installation. If your Rust crate has a license not found in /usr/share/licenses/common/ (like MIT), then cargo aur will copy it into the source tarball and have the PKGBUILD install it. Naturally this means you must actually have a LICENSE file in your project, or cargo aur will complain.

1.3.0

05 Apr 19:07
Compare
Choose a tag to compare

Changed

  • cargo aur no longer outputs options=("strip"), since this is set by default in /etc/makepkg.conf.

1.2.0

24 Aug 21:27
Compare
Choose a tag to compare

Added

  • A --version flag to display the current version of cargo-aur.

1.1.2

11 Aug 21:30
Compare
Choose a tag to compare

Added

  • When using --musl, the user is warned if they don't have the x86_64-unknown-linux-musl target installed.

Changed

  • Run strip on the release binary before tarring it.

1.1.1

11 Aug 20:32
Compare
Choose a tag to compare

Fixed a breaking bug in the previous release.