updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / dhard / PKGBUILD
blob8bf61af32c30b3099a0fee29e83b16b6e9efadb4
1 # Contributor: Nathan Owe <ndowens04+AUR @ gmail.com
2 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
4 pkgname=dhard
5 pkgver=1.1
6 pkgrel=2
7 pkgdesc="DHard helps buggy programs run correctly."
8 url="http://www.diehard-software.org"
9 arch=('i686')
10 license=('custom')
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')
17 build() {
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