-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPKGBUILD
33 lines (29 loc) · 870 Bytes
/
PKGBUILD
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
32
33
# Maintainer: Romanos Skiadas <[email protected]>
# Contributor: Flaviu Tamas <[email protected]>
# Contributor: Guangyu Zhang <[email protected]>
pkgname=testu01-parallel
_pkgname=TestU01-parallel
pkgrel=1
pkgdesc="A version of the TestU01 library that implements parallel Crush tests"
arch=('i686' 'x86_64')
url='https://github.com/rski/testu01-parallel'
license=('custom')
depends=('glibc python')
source="git+https://github.com/rski/testu01-parallel.git"
sha256sums=('SKIP')
conflicts=('testu01')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: