Advertisement
Guest User

PKGBUILD for ditz with ruby1.8

a guest
Nov 11th, 2010
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  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:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement