updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / tircd / PKGBUILD
blob7713d0d4ab67ff4982b8f084612da48b626c928a
1 # Contributor: Igor Mogielnicki <igor.mogielnicki@gmail.com>
2 pkgname=tircd
3 pkgver=0.7
4 pkgrel=1
5 pkgdesc="An ircd proxy to the twitter API."
6 arch=(any)
7 url="http://code.google.com/p/tircd/"
8 license=('GPL')
9 groups=()
10 depends=('perl-net-twitter>=2.10' perl-poe perl-poe-filter-ircd)
11 makedepends=()
12 optdepends=()
13 provides=()
14 conflicts=()
15 replaces=()
16 backup=()
17 options=()
18 install=tircd.install
19 source=("http://tircd.googlecode.com/files/${pkgname}_v${pkgver}.tar.gz"
20         rc-tircd
21         tircd.cfg.patch)
23 noextract=()
24 md5sums=('cd6d6503836918f27f809fd63c9b1bd4'
25          '84dcb4328c0323818d33cc67c64276ee'
26          '2ea1677441ceea655088dd2915fb64f6')
28 build() {
29  mkdir -p $pkgdir/etc/rc.d
30  mkdir -p $pkgdir/usr/bin
31  mkdir -p $pkgdir/usr/lib/perl5/site_perl/current
33  cp $srcdir/$pkgname/$pkgname.pl $pkgdir/usr/bin
34  chmod 755 $pkgdir/usr/bin/$pkgname.pl
36  cp $startdir/rc-tircd $pkgdir/etc/rc.d/tircd
37  chmod 755 $pkgdir/etc/rc.d/tircd
39  cp $srcdir/$pkgname/$pkgname.cfg $pkgdir/etc
40  patch -p0 $pkgdir/etc/tircd.cfg < tircd.cfg.patch
42  cp $srcdir/$pkgname/$pkgname.pod $pkgdir/usr/lib/perl5/site_perl/current
45 # vim:set ts=2 sw=2 et: