Skip to content

Commit

Permalink
New package: rm-improved-0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
juantascon committed May 18, 2020
1 parent 10540a6 commit f6d5860
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions srcpkgs/rm-improved/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Template file for 'rm-improved'
pkgname=rm-improved
version=0.13.1
revision=1
build_style=cargo
short_desc="Safe and ergonomic alternative to rm"
maintainer="Juan <juan@horlux.org>"
license="GPL-3.0-only"
homepage="https://github.com/nivekuil/rip"
distfiles="https://crates.io/api/v1/crates/rm-improved/${version}/download>rm-improved-${version}.tar.gz"
checksum=6964bbdb1633b3af61aa3488175d111bb5cc84e56cd668255e0fb7dce4008722

if [ "$CROSS_BUILD" ]; then
export HOST_CC="$BUILD_CC"
export HOST_CFLAGS="$BUILD_CFLAGS"
export BINDGEN_EXTRA_CLANG_ARGS="--sysroot=$XBPS_CROSS_BASE"
fi

# We only want to install the binary, so don't run cargo install
do_install() {
vbin target/${RUST_TARGET}/release/rip
}

0 comments on commit f6d5860

Please sign in to comment.