updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / ditz / PKGBUILD
blob3e19aaa6d5c32836e6294f56157e0c5e91cd1973
1 # Contributor: David Vilar <david.vilar@gmail.com>
2 # Contributor: BigZ (use ruby1.8)
4 pkgname=ditz
5 pkgver=0.5
6 pkgrel=2
7 pkgdesc="Simple, light-weight distributed issue tracker designed to work with distributed version control systems"
8 arch=(i686 x86_64)
9 url="http://ditz.rubyforge.org/"
10 license=('GPL')
11 depends=(ruby1.8)
12 source=(http://rubyforge.org/frs/download.php/41559/$pkgname-$pkgver.tgz)
13 md5sums=('324bdbef5b01f4d70288e9416fc8b952')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   (echo "#!/usr/bin/ruby-1.8 -I/usr/lib/ditz"; tail -n+2 bin/ditz) > aaa
19   mv aaa bin/ditz
20   ruby-1.8 setup.rb config --prefix=$pkgdir/usr --siterubyver=$pkgdir/usr/lib/ditz
21   ruby-1.8 setup.rb install || make 1
24 # vim:set ts=2 sw=2 et: