# Maintainer: Conrad Kleinespel pkgname=rooster pkgver=2.13.0 pkgrel=1 pkgdesc="A simple password manager" url="https://github.com/conradkleinespel/rooster" makedepends=('cargo' 'pkg-config' 'libx11' 'libxmu' 'python3') depends=('libx11' 'libxmu' 'xsel' 'wl-clipboard') arch=('i686' 'x86_64') license=('Apache-2.0') source=("$pkgname-$pkgver.tar.gz::https://github.com/conradkleinespel/$pkgname/archive/v$pkgver.tar.gz") sha256sums=('09d549ba03d7dfb605001667c7c7cc75877f6b70a05df45ff97a963b924e59d5') build() { cd "$pkgname-$pkgver" sed -i 's# path = "../[a-z0-9]\+",##g' Cargo.toml cargo build --release } package() { cd "$pkgname-$pkgver" install -Dm755 target/release/rooster "$pkgdir/usr/bin/rooster" }