diff options
author | Michael Straube | 2016-02-20 20:21:18 +0100 |
---|---|---|
committer | Michael Straube | 2016-02-20 20:21:18 +0100 |
commit | e2727336ce1cec4a87473cc6ae3406a687b0445f (patch) | |
tree | 943deb23bad031a081e2fb223480402ea731823a | |
parent | 3b1e4a23ef1b5f3f6793eccc6d419bc4d4b79338 (diff) | |
download | aur-e2727336ce1cec4a87473cc6ae3406a687b0445f.tar.gz |
fix makepkg error, dependencies
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r--[-rwxr-xr-x] | PKGBUILD | 15 |
2 files changed, 10 insertions, 10 deletions
@@ -1,3 +1,5 @@ +# Generated by mksrcinfo v8 +# Sat Feb 20 19:20:30 UTC 2016 pkgbase = gravit pkgdesc = A beautiful gravity simulator for linux that uses OpenGL pkgver = 0.5.1 @@ -9,7 +11,8 @@ pkgbase = gravit license = GPL depends = sdl_image depends = sdl_ttf - optdepends = lua: for spawn scripting + depends = glu + depends = lua optdepends = libpng: for screenshots source = http://gravit.slowchop.com/media/downloads/gravit-0.5.1.tgz sha256sums = c7cfd213f0865071da978a9441844910b1f7b49dc10daab94934bf25e43f6e93 diff --git a/PKGBUILD b/PKGBUILD index f65b3331b14d..fcf7e57b4add 100755..100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,28 +8,25 @@ pkgdesc="A beautiful gravity simulator for linux that uses OpenGL" arch=('x86_64' 'i686') url="http://gravit.slowchop.com" install=gravit.install -license="GPL" -depends=('sdl_image' 'sdl_ttf') -optdepends=("lua: for spawn scripting" - "libpng: for screenshots") +license=('GPL') +depends=('sdl_image' 'sdl_ttf' 'glu' 'lua') +optdepends=('libpng: for screenshots') source=(http://gravit.slowchop.com/media/downloads/$pkgname-$pkgver.tgz) sha256sums=('c7cfd213f0865071da978a9441844910b1f7b49dc10daab94934bf25e43f6e93') - - build() { cd $srcdir/$pkgname-$pkgver ./autogen.sh ./configure --prefix=/usr --localstatedir=$HOME/.gravit --without-agar } + package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir/ install - + #moves configuration files from $prefix/etc/gravit to $prefix/share/gravit - its just more proper. install -m644 $pkgdir/usr/etc/gravit/* $pkgdir/usr/share/gravit/ rm $pkgdir/usr/etc/gravit/* rmdir $pkgdir/usr/etc/gravit rmdir $pkgdir/usr/etc - -}
\ No newline at end of file +} |