This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for ditz with ruby1.8

By: a guest on Nov 11th, 2010  |  syntax: None  |  size: 0.95 KB  |  views: 76  |  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. # This is an example PKGBUILD file. Use this as a start to creating your own,
  2. # and remove these comments. For more information, see 'man PKGBUILD'.
  3. # NOTE: Please fill out the license field for your package! If it is unknown,
  4. # then please put 'unknown'.
  5.  
  6. # Contributor: David Vilar <david.vilar@gmail.com>
  7. pkgname=ditz
  8. pkgver=0.5
  9. pkgrel=1
  10. pkgdesc="Simple, light-weight distributed issue tracker designed to work with distributed version control systems"
  11. arch=(i686 x86_64)
  12. url="http://ditz.rubyforge.org/"
  13. license=('GPL')
  14. depends=(ruby1.8)
  15. source=(http://rubyforge.org/frs/download.php/41559/$pkgname-$pkgver.tgz)
  16. md5sums=('324bdbef5b01f4d70288e9416fc8b952')
  17.  
  18. build() {
  19.   cd "$srcdir/$pkgname-$pkgver"
  20.  
  21.   (echo "#!/usr/bin/ruby-1.8 -I/usr/lib/ditz"; tail -n+2 bin/ditz) > aaa
  22.   mv aaa bin/ditz
  23.   ruby-1.8 setup.rb config --prefix=$pkgdir/usr --siterubyver=$pkgdir/usr/lib/ditz
  24.   ruby-1.8 setup.rb install || make 1
  25. }
  26.  
  27. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data