Skip to content

Latest commit

 

History

History
151 lines (94 loc) · 3.74 KB

CHANGELOG.md

File metadata and controls

151 lines (94 loc) · 3.74 KB

cargo-aur Changelog

Unreleased

Added

  • A new custom field in [package.metadata.aur] which accepts a list of strings that will be added as-is to the package() function of the PKGBUILD. This allows the user to add specific extra commands to their build process. See the README for more details.

1.7.1 (2024-03-18)

Fixed

  • The crypt startup error unexpected free argument aur.

1.7.0 (2024-03-07)

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 (2023-10-02)

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 (2022-04-20)

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 (2021-09-06)

Fixed

  • cargo aur now respects CARGO_TARGET_DIR. #6

1.4.0 (2021-06-07)

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 (2021-04-05)

Changed

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

1.2.0 (2020-08-24)

Added

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

1.1.2 (2020-08-11)

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 (2020-08-11)

Fixed

  • A breaking bug in 1.1.0 which prevented it from working at all.

1.1.0 (2020-08-10)

Added

  • The --musl flag to compile the release binary with the MUSL target. In most cases, this will result in a fully statically linked binary.

1.0.3 (2020-07-18)

Changed

  • Better release profile which produces smaller binaries.

1.0.2 (2020-06-22)

Changed

  • cargo aur will now auto-detect the git host (Github or Gitlab) and generated a source link based on that.
  • Fewer dependencies.

1.0.1 (2020-06-17)

Changed

  • Use sha256 instead of md5.
  • The install line in package() is now more modern as a one-liner.

1.0.0 (2020-06-10)

This is the initial release.