aboutsummaryrefslogtreecommitdiffstats
path: root/krandom/PKGBUILD
blob: 5292ad15fe115586ac4ee964f9cdef3b90582f97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>

pkgname=krandom
pkgver=2.0
pkgrel=1
pkgdesc="Keccak-based userspace pseudorandom number generator"
arch=(i686 x86_64)
url="https://github.com/maandree/krandom"
license=('custom:ISC')
depends=()
makedepends=(libkeccak)
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(db97f128ecb45d645bc0e54ad8a4cb278f82ef71057d9a8339624156bc1e16ee)

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

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