diff options
author | Baptiste Jonglez | 2016-01-10 20:09:04 +0100 |
---|---|---|
committer | Baptiste Jonglez | 2016-01-10 20:09:04 +0100 |
commit | b10d3d45f6e8592ffc3973bf2111c60681e95274 (patch) | |
tree | 7a3c38d58a8800c1977c012efb13fba7f3e98294 /PKGBUILD | |
download | aur-adanaxis-gpl.tar.gz |
adanaxis-gpl: Initial package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..10e92b64451d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org> +pkgname=adanaxis-gpl +_name=adanaxisgpl +pkgver=1.2.5 +pkgrel=1 +pkgdesc="A deep space first-person shooter game in four spatial dimensions (GPL version, built from source)" +arch=("i686" "x86_64") +url="http://www.mushware.com/portal.php" +license=('GPL') +depends=("libx11" "libxext" "glu" "sdl" "sdl_mixer" "libvorbis" "libogg" "libtiff" "pcre" "expat") +conflicts=("adanaxis-gpl-deb") +install= +source=("http://www.mushware.com/files/${_name}-$pkgver.tar.gz" + "gcc-4.7.patch" + "const.patch") +md5sums=('bd890ac60c875f7b114d722d16d5eb71' + '0d9367d86a34c78a107bf775d8b4ee2a' + 'dc66d718ae4389b5e02fa9238b33710e') + +prepare() { + cd "$srcdir/${_name}-$pkgver" + # Required to build with gcc>=4.7, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667094 + patch -p1 -i "$srcdir/gcc-4.7.patch" + # Constness issue + patch -p1 -i "$srcdir/const.patch" +} + +build() { + cd "$srcdir/${_name}-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/${_name}-$pkgver" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: |