1 # Maintainer: Paul Roy <paul.roy.b@gmail.com>
2 # -------------------------------------------
7 pkgdesc="Gravit - A beautiful gravity simulator for linux that uses OpenGL"
9 url="http://gravit.slowchop.com"
10 install=gravit.install
12 depends=('sdl_image' 'sdl_ttf')
13 source=(http://gravit.slowchop.com/dist/$pkgname-$pkgver.tar.gz)
14 md5sums=('bb813930069b8661f1019c138c6727e5')
18 cd $startdir/src/gravit-$pkgver
20 ./configure --prefix=/usr --localstatedir=$HOME/.gravit
22 make DESTDIR=$startdir/pkg install
24 #moves configuration files from $prefix/etc/gravit to $prefix/share/gravit - its just more proper.
26 install -m644 $startdir/pkg/usr/etc/gravit/* $startdir/pkg/usr/share/gravit/
27 rm $startdir/pkg/usr/etc/gravit/*
28 rmdir $startdir/pkg/usr/etc/gravit
29 rmdir $startdir/pkg/usr/etc