- A new
custom
field 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
--output
flag for customizing the location of the output produced bycargo aur
. If unused, the default remainstarget/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"
}
- Supply the
url
from backup sources ifhomepage
is 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 othercargo
subcommands. - 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
depends
andoptdepends
via[package.metadata]
, as in:
[package.metadata]
depends = ["nachos", "pizza"]
optdepends = ["sushi", "ramen"]
cargo aur
now respectsCARGO_TARGET_DIR
. #6
- The
conflicts
field is now added to thePKGBUILD
. - Progress messages in the terminal.
LICENSE
detection and installation. If your Rust crate has a license not found in/usr/share/licenses/common/
(likeMIT
), thencargo aur
will copy it into the source tarball and have the PKGBUILD install it. Naturally this means you must actually have aLICENSE
file in your project, orcargo aur
will complain.
cargo aur
no longer outputsoptions=("strip")
, since this is set by default in/etc/makepkg.conf
.
- A
--version
flag to display the current version ofcargo-aur
.
- When using
--musl
, the user is warned if they don't have thex86_64-unknown-linux-musl
target installed.
- Run
strip
on the release binary beforetar
ring it.
- A breaking bug in
1.1.0
which prevented it from working at all.
- The
--musl
flag 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 aur
will now auto-detect the git host (Github or Gitlab) and generated asource
link based on that.- Fewer dependencies.
- Use
sha256
instead ofmd5
. - The
install
line inpackage()
is now more modern as a one-liner.
This is the initial release.