summaryrefslogtreecommitdiff
path: root/community/astromenace
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/astromenace
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/astromenace')
-rw-r--r--community/astromenace/PKGBUILD42
-rw-r--r--community/astromenace/astromenace.desktop10
-rw-r--r--community/astromenace/astromenace.patch12
-rw-r--r--community/astromenace/astromenace.pngbin0 -> 6789 bytes
-rw-r--r--community/astromenace/astromenace.sh3
5 files changed, 67 insertions, 0 deletions
diff --git a/community/astromenace/PKGBUILD b/community/astromenace/PKGBUILD
new file mode 100644
index 000000000..403ebf339
--- /dev/null
+++ b/community/astromenace/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 94294 2013-07-18 23:41:16Z svenstaro $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Arkham <arkham at archlinux dot us>
+# Contributor: Ivan Bobrov <ibobrik at gmail dot com>
+# Contributor: Black_Mage <vleon1 at gmail dot com>
+
+pkgname=astromenace
+pkgver=1.3.2
+pkgrel=1
+pkgdesc="Hardcore 3D space shooter with spaceship upgrade possibilities"
+arch=('i686' 'x86_64')
+url="http://www.viewizard.com/astromenace/index_linux.php"
+license=('GPL3')
+depends=('sdl' 'freealut' 'libjpeg' 'libvorbis' 'glu' 'freetype2' 'libxinerama')
+makedepends=('cmake' 'mesa')
+source=(http://downloads.sourceforge.net/openastromenace/astromenace-src-$pkgver.tar.bz2
+ astromenace.desktop)
+md5sums=('a1481ca7cf498773fddc16a3b41c9b9b'
+ '1edc9367564a6c639a2b8199adf26a08')
+
+build() {
+ cd $srcdir/AstroMenace
+
+ [[ -d build ]] && rm -r build
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDATADIR=/usr/share/astromenace
+ make
+}
+
+package() {
+ cd $srcdir/AstroMenace
+
+ build/AstroMenace --pack --rawdata=./RAW_VFS_DATA --dir=build
+
+ install -Dm755 build/AstroMenace $pkgdir/usr/bin/astromenace
+ install -Dm644 build/gamedata.vfs $pkgdir/usr/share/astromenace/gamedata.vfs
+
+ install -Dm 644 astromenace_128.png $pkgdir/usr/share/pixmaps/astromenace.png
+ install -Dm 644 $srcdir/astromenace.desktop $pkgdir/usr/share/applications/astromenace.desktop
+}
diff --git a/community/astromenace/astromenace.desktop b/community/astromenace/astromenace.desktop
new file mode 100644
index 000000000..2b8d57293
--- /dev/null
+++ b/community/astromenace/astromenace.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Astromenace
+Comment=Space shooter
+Exec=astromenace
+Icon=/usr/share/pixmaps/astromenace.png
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Application;Game;ArcadeGame;
diff --git a/community/astromenace/astromenace.patch b/community/astromenace/astromenace.patch
new file mode 100644
index 000000000..b69efd9a4
--- /dev/null
+++ b/community/astromenace/astromenace.patch
@@ -0,0 +1,12 @@
+diff -aur OpenAstroMenaceSVN.pristine/AstroMenaceSource/Core/RendererInterface/RendererInterface.h OpenAstroMenaceSVN.new/AstroMenaceSource/Core/RendererInterface/RendererInterface.h
+--- OpenAstroMenaceSVN.pristine/AstroMenaceSource/Core/RendererInterface/RendererInterface.h 2010-02-14 11:39:06.721353373 +0100
++++ OpenAstroMenaceSVN.new/AstroMenaceSource/Core/RendererInterface/RendererInterface.h 2010-02-14 11:46:47.171304764 +0100
+@@ -37,6 +37,8 @@
+ #include "../Base.h"
+ #include "../Math/Math.h"
+ #include "../Texture/Texture.h"
++#define PFNGLCLIENTACTIVETEXTUREPROC PFNGLACTIVETEXTUREPROC
++
+
+
+
diff --git a/community/astromenace/astromenace.png b/community/astromenace/astromenace.png
new file mode 100644
index 000000000..6093e9272
--- /dev/null
+++ b/community/astromenace/astromenace.png
Binary files differ
diff --git a/community/astromenace/astromenace.sh b/community/astromenace/astromenace.sh
new file mode 100644
index 000000000..02e8594df
--- /dev/null
+++ b/community/astromenace/astromenace.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+astromenace_bin --dir=/usr/share/astromenace "$@"