From 777c049258079127ca3625a0b4f9d2b2f27924f9 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 11 Sep 2013 11:18:58 -0300 Subject: gather entropy from audio --- pcr/audio-entropyd/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pcr/audio-entropyd/PKGBUILD (limited to 'pcr/audio-entropyd/PKGBUILD') diff --git a/pcr/audio-entropyd/PKGBUILD b/pcr/audio-entropyd/PKGBUILD new file mode 100644 index 000000000..c691c0128 --- /dev/null +++ b/pcr/audio-entropyd/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: fauno +pkgname=audio-entropyd +pkgver=2.0.3 +pkgrel=1 +pkgdesc="Feeds the /dev/random device with entropy-data read from an audio device" +arch=('i686') +url="http://vanheusden.com/aed/" +license=('GPL2') +groups=('entropy') +depends=('alsa-lib') +source=(http://www.vanheusden.com/aed/${pkgname}-${pkgver}.tgz + ${pkgname}.service) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} + install -D -m 644 ${srcdir}/${pkgname}.service \ + ${pkgdir}/usr/lib/systemd/system/${pkgname}.service +} +sha1sums=('b788559c6c01e17bb9d314ac2a7411bc30fbb8a2' + '6d3ad093176efaa0e5a4fe80113048aa9c4810ce') +sha256sums=('6fbaf1c4f77e988f4656cd079309d5eb6bd36cbae89c2ee01324c5690adaf3ff' + '41704fac32b2c180c1fb6155b902445e2c5bc493da0191180cb3720cd72bd42c') -- cgit v1.2.3