updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / haveged / PKGBUILD
blob67021c478336fca06e1f326b2e714b08f1f6a43b
1 # Maintainer: chol <chol at localhosted dot net>
3 pkgname=haveged
4 pkgver=1.3a
5 _r_ver=1.3
6 pkgrel=2
7 pkgdesc="A simple entropy daemon."
8 arch=('i686' 'x86_64')
9 url="http://www.issihosts.com/haveged"
10 license=('GPL')
11 source=(${url}/${pkgname}-${pkgver}.tar.gz haveged)
12 md5sums=('dad8b95c6eafcec7eb42eb8454e60a0d'
13         '6478347e8c246ee89a8db4fc37a858f9')
15 build() {
16   cd "${srcdir}"/${pkgname}-${_r_ver}
17   ./configure --prefix=/usr
18   make
21 package() {
22   cd "${srcdir}"/${pkgname}-${_r_ver}
23   make DESTDIR="${pkgdir}" install
24   rm -rf "${pkgdir}"/etc/init.d
25   cd "${srcdir}"
26   install -D -m755 haveged "${pkgdir}"/etc/rc.d/haveged