diff options
author | Erich Eckner <git@eckner.net> | 2016-11-24 10:05:37 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-11-24 10:05:37 +0100 |
commit | 40669990796dcabddee6256f9738651613ff9907 (patch) | |
tree | 13337219718b3923d1d09cc574a68220f4eecff5 /dieharder/PKGBUILD | |
parent | dcc2a1dbcd42ac479b1fc04e9484430d0c605037 (diff) | |
download | archlinuxewe-40669990796dcabddee6256f9738651613ff9907.tar.xz |
dieharder neu
Diffstat (limited to 'dieharder/PKGBUILD')
-rw-r--r-- | dieharder/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dieharder/PKGBUILD b/dieharder/PKGBUILD new file mode 100644 index 000000000..759f49112 --- /dev/null +++ b/dieharder/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: Fabian Köhler <fabian2804 (AT) googlemail (DOT) com > +# Maintainer: Erich Eckner <arch at eckner dot net> + +pkgname=dieharder +pkgver=3.31.1 +pkgrel=4 +pkgdesc="A Random Number Test Suite" +arch=('i686' 'x86_64') +depends=('gsl') +url="http://www.phy.duke.edu/~rgb/General/dieharder.php" +license=('GPL') +source=("http://www.phy.duke.edu/~rgb/General/dieharder/${pkgname}-${pkgver}.tgz" + 'autogen.patch' + 'stdint.patch') +sha256sums=('6cff0ff8394c553549ac7433359ccfc955fb26794260314620dfa5e4cd4b727f' + '0df2d1957accfebba3e4083f7e1184aac10091c93f79a3174c79ebdae613831d' + '1ea17f15580fa9ac8831d20a3e4f5c412b8330bf2183f704371e167206497714') +provides=('dieharder') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -uN autogen.sh ../autogen.patch || return 1 + patch -uN include/dieharder/libdieharder.h ../stdint.patch || return 1 + ./autogen.sh + make -j1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}/" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: |