# $Id: PKGBUILD 81287 2012-12-16 08:30:34Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: kfgz # Contributor: pootzko pkgname=haveged pkgver=1.6 pkgrel=1 pkgdesc='Entropy harvesting daemon using CPU timings' arch=('i686' 'x86_64' 'mips64el') url='http://www.issihosts.com/haveged' license=('GPL') depends=('glibc') source=($url/$pkgname-$pkgver.tar.gz rc.d service) md5sums=('5a386a530e89bfbc6c8d22717b16e2a8' '264b725be5271288b40f363d7cfc6b68' 'fc62a480f520377364503aca9efff0b0') build() { cd $srcdir/$pkgname-${pkgver/a/} ./configure --prefix=/usr make } package() { cd $srcdir/$pkgname-${pkgver/a/} make DESTDIR=$pkgdir install rm -rf $pkgdir/etc/init.d install -D -m755 $srcdir/rc.d $pkgdir/etc/rc.d/haveged install -D -m644 $srcdir/service $pkgdir/usr/lib/systemd/system/haveged.service } md5sums=('c1f34be00c3f438ec83862e90e192e4b' '264b725be5271288b40f363d7cfc6b68' 'fc62a480f520377364503aca9efff0b0')