blob: 1c2d348547c244872788eb0b51da01eaf3a77bb9 (
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
26
27
28
29
30
31
|
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: Robin Martinjak <rob@rmartinjak.de>
pkgname=correcthorse
pkgver=1.0
pkgrel=6
pkgdesc="Passphrase generator based on https://xkcd.com/936/"
arch=('i686' 'x86_64')
url="https://github.com/rmartinjak/correcthorse"
license=('WTFPL')
depends=('glibc>=2.25')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rmartinjak/$pkgname/archive/v$pkgver.tar.gz
change_prng.patch)
md5sums=('3d691f786f5879f5b902585472d6d195'
'502d2efc2d46cc3c1a92a8245daa380a')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i "${srcdir}/change_prng.patch"
}
build() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" PREFIX=/usr install
}
|