updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / randomsound / PKGBUILD
blobf7e9fe726e2ac2c10c74a668401ac8394c591ccb
1 # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
2 # Maintainer: pootzko <pootzko(at)gmail(dot)com>
4 pkgname=randomsound
5 pkgver=0.2
6 pkgrel=1
7 pkgdesc="An ALSA sound card related entropy gathering daemon"
8 arch=('i686' 'x86_64')
9 url="http://www.digital-scurf.org/files/randomsound/"
10 license=('MIT')
11 depends=()
12 backup=("etc/conf.d/$pkgname")
13 source=(http://www.digital-scurf.org/files/$pkgname/$pkgname-$pkgver.tar.gz
14         $pkgname.{init,conf})
15 md5sums=('76766477db530269045939dd9988c535'
16          'f335913eee6146c4af9ee400a63af9cc'
17          '2c514684d0d20dbbd940b11198807c71')
19 build() {
20   cd $srcdir/$pkgname-$pkgver
21   make || return 1
22   install -D -m755 $pkgname $pkgdir/usr/sbin/$pkgname
23   install -D -m644 $pkgname.8 $pkgdir/usr/share/man/man8/$pkgname.8
24   install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
25   install -D -m755 $srcdir/$pkgname.init $pkgdir/etc/rc.d/$pkgname
26   install -D -m644 $srcdir/$pkgname.conf $pkgdir/etc/conf.d/$pkgname