summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose17112015-12-27 20:04:10 +0100
committerjose17112015-12-27 20:04:10 +0100
commit1a9b1f8db030704542bb85b7399e6f002198a919 (patch)
tree188239b7e4d55b36c16d234468fbd1be95504d6c
parent82191a7c43c5d788861403484bf30153a41d444b (diff)
downloadaur-1a9b1f8db030704542bb85b7399e6f002198a919.tar.gz
fixed pkgbuild
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD23
2 files changed, 20 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1bdee3c45fb..8181ad47d61 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,20 @@
+# Generated by mksrcinfo v8
+# Sun Dec 27 19:04:04 UTC 2015
pkgbase = antigravitaattori
pkgdesc = a multiplayer flying saucer racing game
pkgver = 0.0.3
- pkgrel = 3
+ pkgrel = 5
url = http://luolamies.org/software/antigrav/
arch = i686
+ arch = x86_64
license = GPL-2
depends = libpng
depends = sdl
depends = mesa
depends = freealut
- source = http://luolamies.org/software/antigrav/antigrav-0.0.3.tar.gz
+ source = https://github.com/callaa/antigravitaattori/archive/master.zip
source = antigrav.desktop
- md5sums = 20e357bacdff1a04da399c9a5b983ff0
+ md5sums = 33f83adefa1b2912e655042cd320c20f
md5sums = 2fe08f941d366e2cc0a993ea0d0445eb
pkgname = antigravitaattori
diff --git a/PKGBUILD b/PKGBUILD
index d8c6e3bece0..af4f749ce05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,25 @@
-# Contributor: jose <jose1711 [at] gmail (dot) com>
+# Maintainer: jose <jose1711 [at] gmail (dot) com>
pkgname=antigravitaattori
-arch=('i686')
+arch=('i686' 'x86_64')
pkgver=0.0.3
-pkgrel=3
+pkgrel=5
pkgdesc="a multiplayer flying saucer racing game"
license=('GPL-2')
url="http://luolamies.org/software/antigrav/"
depends=('libpng' 'sdl' 'mesa' 'freealut')
-source=("http://luolamies.org/software/antigrav/antigrav-${pkgver}.tar.gz" "antigrav.desktop")
-md5sums=('20e357bacdff1a04da399c9a5b983ff0' '2fe08f941d366e2cc0a993ea0d0445eb')
+source=("https://github.com/callaa/antigravitaattori/archive/master.zip" "antigrav.desktop")
+md5sums=('33f83adefa1b2912e655042cd320c20f'
+ '2fe08f941d366e2cc0a993ea0d0445eb')
build() {
-cd $srcdir/antigrav-$pkgver
+cd $srcdir/antigravitaattori-master
./configure --prefix=/usr
-make || return 1
-make exec_prefix=$pkgdir prefix=$pkgdir/usr install
-install -D -m644 $srcdir/antigrav.desktop $pkgdir/usr/share/applications/antigrav.desktop || return 1
+make
+}
+
+package() {
+cd $srcdir/antigravitaattori-master
+make exec_prefix=$pkgdir/usr prefix=$pkgdir/usr install
+install -D -m644 $srcdir/antigrav.desktop $pkgdir/usr/share/applications/antigrav.desktop
}