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'.
6 # Maintainer: Your Name <youremail@domain.com>
10 pkgdesc="A simple logic circuit simulator written in Java."
12 url="http://nbenoit.tuxfamily.org/index.php?page=Giraffe"
14 depends=(java-runtime)
15 #install=$pkgname.install
16 source=(http://nbenoit.tuxfamily.org/projects/$pkgname/$pkgname-$pkgver.tar.gz)
17 md5sums=('8b4884dd2f634c8dd497286b3f9ba1ed')
20 cd "$srcdir/$pkgname-$pkgver"
21 install -d -m644 "$pkgdir/usr/share/$pkgname"
22 cp -a {lib,gfx,class} "$pkgdir/usr/share/$pkgname/"
24 sed 's|class|/usr/share/giraffe/class|' -i giraffe.sh
25 install -Dm755 giraffe.sh "$pkgdir/usr/bin/giraffe"
27 find $pkgdir -type d -exec chmod 755 {} \;
28 find $pkgdir/usr/share/$pkgname -type f -exec chmod 644 {} \;