summaryrefslogtreecommitdiff
path: root/pcr/timer_entropyd/PKGBUILD
blob: 487adb23dda2beb04f264b0cb9cb8d4c87582f56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: fauno <fauno@parabola.nu>
pkgname=timer_entropyd
pkgver=0.2
pkgrel=1
pkgdesc="Feeds the /dev/random device with entropy-data (random values) read from timers."
arch=('i686')
url="http://www.vanheusden.com/te/"
license=('GPL2')
groups=('entropy')
source=(http://www.vanheusden.com/te/${pkgname}-${pkgver}.tgz
        ${pkgname}.service)
sha1sums=('61b82128bf4df483271a475a0cc772a7fd80a804'
          'a41669eda5a2ff283b17571805b603073a6f283f')
sha256sums=('0cf2b976b78c1b1169a4bec5a6fc71d8b118de927bc05002686376a61f73989a'
            '1cce8c38f310533d86a6dd95616d213835d16e35e38ee40990300afbc9895807')

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
}