diff options
Diffstat (limited to 'pcr/audio-entropyd')
-rw-r--r-- | pcr/audio-entropyd/PKGBUILD | 29 | ||||
-rw-r--r-- | pcr/audio-entropyd/audio-entropyd.service | 10 |
2 files changed, 39 insertions, 0 deletions
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 <fauno@parabola.nu> +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') diff --git a/pcr/audio-entropyd/audio-entropyd.service b/pcr/audio-entropyd/audio-entropyd.service new file mode 100644 index 000000000..feff7cae4 --- /dev/null +++ b/pcr/audio-entropyd/audio-entropyd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Gathering entropy from audio +After=sound.target + +[Service] +Type=forking +ExecStart=/usr/bin/audio-entropyd + +[Install] +WantedBy=multi-user.target |