void-packages/srcpkgs/rooster/template

24 lines
945 B
Bash

# Template file for 'rooster'
pkgname=rooster
version=2.7.1
revision=2
build_style=cargo
hostmakedepends="pkg-config python3"
makedepends="libX11-devel libXmu-devel"
short_desc="Simple password manager for geeks"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="Apache-2.0"
homepage="https://github.com/conradkdotcom/rooster"
distfiles="https://github.com/conradkdotcom/rooster/archive/v${version}.tar.gz"
checksum=b1413d220f240e9f9fc99e3be705c029a10f82e67df2858ee15ba09c3f5c1b51
case "$XBPS_TARGET_MACHINE" in
aarch64*) broken="undefined reference to rust_crypto_util_fixed_time_eq_asm https://github.com/DaGenix/rust-crypto/issues/383" ;;
esac
post_extract() {
# https://github.com/voidlinux/void-packages/issues/8725#issuecomment-341365782
sed -i -e "s/82745ce935695e7984a053c155a64b9ad16ece3a07d931cc90ab3fb28b7221af/3b739084e4b409aacf8531f87b57efa602eccdd17b5cddbc4ae1313a2c866f34/" \
vendor/backtrace-sys/.cargo-checksum.json
}