summaryrefslogtreecommitdiff
path: root/pcr/haveged/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/haveged/PKGBUILD')
-rw-r--r--pcr/haveged/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/haveged/PKGBUILD b/pcr/haveged/PKGBUILD
new file mode 100644
index 000000000..257e1f39f
--- /dev/null
+++ b/pcr/haveged/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (Arch): kfgz <kfgz at interia dot pl>
+# Contributor (Arch): pootzko <pootzko at gmail dot com>
+
+pkgname=haveged
+pkgver=1.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)
+md5sums=('f7752f0355a0e89d8f196658db5f6884'
+ '264b725be5271288b40f363d7cfc6b68')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ rm -rf ${pkgdir}/etc/init.d
+ cd ${srcdir}
+ install -D -m755 haveged ${pkgdir}/etc/rc.d/haveged
+}