1 # Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
6 pkgdesc='Bruteforce with a stream of permutations of a specific pattern'
7 url='https://github.com/kpcyrd/progpick'
10 makedepends=('cargo' 'scdoc')
11 source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
12 https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
13 b2sums=('7b45f66a8ef297ce2f20e561bd8689cda0c38bfdfcb909c0fd2e0643dfac5933fca59b33327d7135d7eb255bd66f7e49bacfd30ed1d2a7aa1ab79aa37e95fb89'
15 validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6")
18 cd "${pkgname}-${pkgver}"
19 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
23 cd ${pkgname}-${pkgver}
24 cargo build --frozen --release
29 cd ${pkgname}-${pkgver}
30 cargo test --frozen --release
34 cd ${pkgname}-${pkgver}
35 install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
36 install -Dm 644 contrib/${pkgname}.1 -t "${pkgdir}/usr/share/man/man1"