New package: rooster

This commit is contained in:
cr6git 2017-11-03 11:33:25 +01:00 committed by Toyam Cox
parent ba5f34a851
commit c23931ec99
1 changed files with 30 additions and 0 deletions

30
srcpkgs/rooster/template Normal file
View File

@ -0,0 +1,30 @@
# Template file for 'rooster'
pkgname=rooster
version=2.7.1
revision=1
hostmakedepends="cargo pkg-config python3 xclip"
makedepends="libX11-devel libXmu-devel"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Simple password manager for geeks"
homepage="https://github.com/conradkdotcom/rooster"
license="Apache-2.0"
distfiles="https://github.com/conradkdotcom/rooster/archive/v${version}.tar.gz"
checksum=b1413d220f240e9f9fc99e3be705c029a10f82e67df2858ee15ba09c3f5c1b51
# cargo:warning=armv7l-linux-gnueabihf-gcc: error: unrecognized command line option '-m64'
# cargo:warning=aarch64-linux-gnu-gcc: error: unrecognized command line option '-m64'
nocross=yes
post_extract() {
sed -i -e "s/8131853dbc8c3be5171fa96353de7a884a79d3f1d6b3fbf48f99037f5f95fe27/b7eab9b8a73dc6e0421366bca6921cd2621dab6c3909d6e3bebf863011442d15/" \
-e "s/3b739084e4b409aacf8531f87b57efa602eccdd17b5cddbc4ae1313a2c866f34/82745ce935695e7984a053c155a64b9ad16ece3a07d931cc90ab3fb28b7221af/" \
vendor/backtrace-sys/.cargo-checksum.json
}
do_build() {
cargo build --release
}
do_install() {
vbin target/release/rooster
}