Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

tircd v0.10 PKGBUILD

By: a guest on Apr 8th, 2010  |  syntax: Bash  |  size: 1.10 KB  |  views: 130  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Igor Mogielnicki <igor.mogielnicki@gmail.com>
  2. pkgname=tircd
  3. pkgver=0.10
  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}.tgz"
  20. rc-tircd
  21. tircd.cfg.patch)
  22.  
  23. noextract=()
  24. md5sums=('b98d8dfac4aec44327f65e5643b5af34'
  25. '84dcb4328c0323818d33cc67c64276ee'
  26. '2ea1677441ceea655088dd2915fb64f6')
  27.  
  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
  32.  
  33. cp $srcdir/$pkgname/$pkgname.pl $pkgdir/usr/bin
  34. chmod 755 $pkgdir/usr/bin/$pkgname.pl
  35.  
  36. cp $startdir/rc-tircd $pkgdir/etc/rc.d/tircd
  37. chmod 755 $pkgdir/etc/rc.d/tircd
  38.  
  39. cp $srcdir/$pkgname/$pkgname.cfg $pkgdir/etc
  40. patch -p0 $pkgdir/etc/tircd.cfg < tircd.cfg.patch
  41.  
  42. cp $srcdir/$pkgname/$pkgname.pod $pkgdir/usr/lib/perl5/site_perl/current
  43. }
  44.  
  45. # vim:set ts=2 sw=2 et: