1 # Contributor: Nathan Owe <ndowens04+AUR @ gmail.com
2 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
7 pkgdesc="DHard helps buggy programs run correctly."
8 url="http://www.diehard-software.org"
11 depends=('gcc-libs' 'sh')
12 source=(http://www.cs.umass.edu/~emery/diehard/download/${pkgver}/diehard-${pkgver}.tar.gz \
13 'diehard.profile' 'LICENSE')
14 md5sums=('09acd8e825ff7544759238a89300506f'\
15 'b32899da9e37a6de898e65c6d007b8ee'\
16 '108bedb75ae0cb7a6cb41f29b845156f')
18 cd ${srcdir}/diehard-${pkgver}/src
19 make linux || return 1
20 install -Dm644 libdiehard.so ${pkgdir}/usr/lib/diehard/libdiehard.so
21 install -Dm755 ${srcdir}/diehard.profile ${pkgdir}/etc/profile.d/diehard.sh
22 install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE