blob: cddf373632ff5c94937e23ac3c4dd3221e7fa471 (
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
|
# Maintainer (Arch): kfgz <kfgz at interia dot pl>
# Contributor (Arch): pootzko <pootzko at gmail dot com>
pkgname=haveged
pkgver=1.9.1
pkgrel=1
pkgdesc="A simple entropy daemon."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.issihosts.com/haveged"
license="GPL"
source=(${url}/${pkgname}-${pkgver}.tar.gz
haveged.service)
md5sums=('015ff58cd10607db0e0de60aeca2f5f8'
'ff884d546792ec37625a3c20864dba16')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/etc/init.d
cd ${srcdir}
install -vDm755 haveged.service ${pkgdir}/usr/lib/systemd/system/haveged.service
}
|