updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / relayd / PKGBUILD
blob2be0677df4e11a14f7f6b2df302a21ccabc2e9c1
1 # Contributor: Roberto Alsina <ralsina@kde.org>
2 pkgname=relayd
3 pkgver=20040322
4 pkgrel=2
5 pkgdesc="Relay Rate Limit Daemon"
6 url="http://dizzy.roedu.net/relayd/"
7 license="GPL"
8 depends=()
9 makedepends=()
10 conflicts=()
11 replaces=()
12 backup=()
13 arch=('i686')
14 install=
15 source=(http://dizzy.roedu.net/relayd/$pkgname-$pkgver.tar.bz2 \
16         Makefile relayd.init relayd.runit)
17         
18 md5sums=('f47bf4b9f49493ef8bf4d9dd2cacedb1' '23e86ac7c178e7a39f6a5b7fd314fece'\
19          'e6a7115d13964665adea1217ff03bf8d' '1378ea50c5d8f780bf22cc02096b9438')
21 build() {
22   cp Makefile $startdir/src/$pkgname-$pkgver
23   cd $startdir/src/$pkgname-$pkgver
24   make || return 1
25   make DESTDIR=$startdir/pkg install
26   
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