blob: 82876b93bc70cebef518299d28b350826e09cca6 (
plain)
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
|
# $Id: PKGBUILD 75053 2012-08-13 05:31:00Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: kfgz <kfgz at interia dot pl>
# Contributor: pootzko <pootzko at gmail dot com>
pkgname=haveged
pkgver=1.5
pkgrel=1
pkgdesc='Entropy harvesting daemon using CPU timings'
arch=('i686' 'x86_64')
url='http://www.issihosts.com/haveged'
license=('GPL')
depends=('glibc')
source=(${url}/${pkgname}-${pkgver}.tar.gz
rc.d service)
md5sums=('89ea7d79c76160f13065301d952091d7'
'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
}
|