1 # Contributor: Roberto Alsina <ralsina@kde.org>
5 pkgdesc="Relay Rate Limit Daemon"
6 url="http://dizzy.roedu.net/relayd/"
15 source=(http://dizzy.roedu.net/relayd/$pkgname-$pkgver.tar.bz2 \
16 Makefile relayd.init relayd.runit)
18 md5sums=('f47bf4b9f49493ef8bf4d9dd2cacedb1' '23e86ac7c178e7a39f6a5b7fd314fece'\
19 'e6a7115d13964665adea1217ff03bf8d' '1378ea50c5d8f780bf22cc02096b9438')
22 cp Makefile $startdir/src/$pkgname-$pkgver
23 cd $startdir/src/$pkgname-$pkgver
25 make DESTDIR=$startdir/pkg install
27 install -d $startdir/pkg/etc/rc.d
28 install -m 0755 ../relayd.init $startdir/pkg/etc/rc.d/relayd
30 install -d $startdir/pkg/etc/sv/relayd
31 install -m 0755 ../relayd.runit $startdir/pkg/etc/sv/relayd/run