updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / haveged / PKGBUILD
blob76f693d695734d69b4a0ba1757dfbf8041751610
1 # Maintainer: kfgz <kfgz at interia dot pl>
2 # Contributor: pootzko <pootzko at gmail dot com>
4 pkgname=haveged
5 pkgver=1.3a
6 _r_ver=1.3
7 pkgrel=1
8 pkgdesc="A simple entropy daemon."
9 arch=('i686' 'x86_64')
10 url="http://www.issihosts.com/haveged"
11 license=('GPL')
12 source=(${url}/${pkgname}-${pkgver}.tar.gz
13         haveged)
14 md5sums=('dad8b95c6eafcec7eb42eb8454e60a0d'
15          '264b725be5271288b40f363d7cfc6b68')
17 build() {
18   cd "${srcdir}"/${pkgname}-${_r_ver}
19   ./configure --prefix=/usr
20   make
23 package() {
24   cd "${srcdir}"/${pkgname}-${_r_ver}
25   make DESTDIR="${pkgdir}" install
26   rm -rf "${pkgdir}"/etc/init.d
27   cd "${srcdir}"
28   install -D -m755 haveged "${pkgdir}"/etc/rc.d/haveged