1 # Contributor: Igor Mogielnicki <igor.mogielnicki@gmail.com>
5 pkgdesc="An ircd proxy to the twitter API."
7 url="http://code.google.com/p/tircd/"
10 depends=('perl-net-twitter>=2.10' perl-poe perl-poe-filter-ircd)
19 source=("http://tircd.googlecode.com/files/${pkgname}_v${pkgver}.tar.gz"
24 md5sums=('cd6d6503836918f27f809fd63c9b1bd4'
25 '84dcb4328c0323818d33cc67c64276ee'
26 '2ea1677441ceea655088dd2915fb64f6')
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: