blob: 10a34cd1e46748c1d971b53539b08262a3b720ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: ugla <ugla at u8 dot is>
pkgname=passphrase
pkgrel=1
pkgver=1.6
pkgdesc="Small, simple passphrase generator, written in Zig"
arch=('any')
url="https://git.sr.ht/~alva/${pkgname}"
license=('MIT')
makedepends=('zig>=0.10.1' 'git')
source=("git+https://git.sr.ht/~alva/${pkgname}#tag=${pkgver}")
sha256sums=('SKIP')
check() {
cd "${srcdir}/${pkgname}"
zig build test
}
package() {
cd "${srcdir}/${pkgname}"
zig build install -Doptimize=ReleaseSmall -Dpie=true --prefix "${pkgdir}/usr"
}
|