summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51d694c3f84ae8a1584928846dceccb8247e9320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>

pkgname=autopasswd
pkgver=2
pkgrel=2
pkgdesc="Reproducable password generator"
url="https://github.com/maandree/autopasswd"
arch=(i686 x86_64)
license=(GPL3)
depends=(glibc libpassphrase argparser-c libkeccak)
makedepends=(glibc libpassphrase argparser-c libkeccak make coreutils gcc)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=(7bdad6b035c198808ce650a3b78bd6476fbcf9663a4913b2d6e1a68ef0b1c270)


build() {
    cd "$srcdir/autopasswd-$pkgver"
    make PREFIX=/usr
}

package() {
    cd "$srcdir/autopasswd-$pkgver"
    make PREFIX=/usr DESTDIR="$pkgdir" install
}