Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/aur/PKGBUILD.osirion48
1 files changed, 48 insertions, 0 deletions
diff --git a/package/aur/PKGBUILD.osirion b/package/aur/PKGBUILD.osirion
new file mode 100644
index 0000000..c675e0c
--- /dev/null
+++ b/package/aur/PKGBUILD.osirion
@@ -0,0 +1,48 @@
+#
+# Maintainer: Stijn Buys <ingar@telenet.be>
+#
+
+pkgname=osirion
+pkgver=0.2.8
+pkgrel=1
+pkgdesc="A free space trading and combat simulation with open gameplay"
+url="http://osirion.org/"
+arch=('x86_64' 'armv7h')
+license=('GPL')
+depends=('zlib' 'bullet' 'libjpeg' 'libpng' 'libvorbis' 'libogg' 'flac' 'sdl2' 'libgl' 'glu' 'openal')
+makedepends=('automake' 'autoconf')
+optdepends=(i'ncurses')
+provides=('osirion')
+conflicts=('osirion-server' 'osirion-git' 'osirion-server-git')
+backup=()
+options=()
+source=("http://osirion.org/files/${pkgname}-${pkgver}-src.tar.bz2"
+ "http://osirion.org/files/${pkgname}-${pkgver}-data.zip")
+sha256sums=('2b164ad11e2907eafb2200585afd400bdfe6eacd94d4c40a29c5750e4a2ccc6d'
+ 'dfa2e9ed814c03bcc0f7b4b14f5e981a6762762306ac131adb57c6a190512c74')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}-src"
+
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}-src"
+
+ ./configure \
+ --prefix=/usr
+
+ ./configure \
+ --prefix=/usr \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}-src"
+ make DESTDIR="${pkgdir}" install
+
+ cd "${srcdir}"
+ install -D --mode=644 --directory "${srcdir}/data" "${pkgdir}/usr/share/osirion/data"
+}
+