blob: be9c9dea8a5053f027650a8bbb822c475348dfce (
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
|
# $Id: PKGBUILD 203089 2014-01-04 07:54:11Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: kfgz <kfgz at interia dot pl>
# Contributor: pootzko <pootzko at gmail dot com>
pkgname=haveged
pkgver=1.8
_pkgver=${pkgver/.c/c}
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
service)
md5sums=('e0034fd8a645b7499157a31a3e3b224d'
'777c7ac7fa145c03fca3ba9dcd4501de')
build() {
cd $pkgname-$_pkgver
./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin
make
}
package() {
cd $pkgname-$_pkgver
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir"/service \
"$pkgdir"/usr/lib/systemd/system/haveged.service
}
|