mirror of
https://github.com/fosskers/cargo-aur.git
synced 2026-03-08 23:03:13 -05:00
3.7 KiB
3.7 KiB
cargo-aur Changelog
Unreleased
Added
- 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.
1.7.1 (2024-03-18)
Fixed
- The crypt startup error
unexpected free argument aur.
1.7.0 (2024-03-07)
Added
- 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"
}
Fixed
- Supply the
urlfrom backup sources ifhomepageis not specified in theCargo.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 othercargosubcommands. - 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 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 (2021-09-06)
Fixed
cargo aurnow respectsCARGO_TARGET_DIR. #6
1.4.0 (2021-06-07)
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.
1.3.0 (2021-04-05)
Changed
cargo aurno longer outputsoptions=("strip"), since this is set by default in/etc/makepkg.conf.
1.2.0 (2020-08-24)
Added
- A
--versionflag to display the current version ofcargo-aur.
1.1.2 (2020-08-11)
Added
- When using
--musl, the user is warned if they don't have thex86_64-unknown-linux-musltarget installed.
Changed
- Run
stripon the release binary beforetarring it.
1.1.1 (2020-08-11)
Fixed
- A breaking bug in
1.1.0which prevented it from working at all.
1.1.0 (2020-08-10)
Added
- The
--muslflag 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 aurwill now auto-detect the git host (Github or Gitlab) and generated asourcelink based on that.- Fewer dependencies.
1.0.1 (2020-06-17)
Changed
- Use
sha256instead ofmd5. - The
installline inpackage()is now more modern as a one-liner.
1.0.0 (2020-06-10)
This is the initial release.