summaryrefslogtreecommitdiff
path: root/community/oolite/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/oolite/PKGBUILD')
-rw-r--r--community/oolite/PKGBUILD44
1 files changed, 21 insertions, 23 deletions
diff --git a/community/oolite/PKGBUILD b/community/oolite/PKGBUILD
index 89dd0894a..24effb6a2 100644
--- a/community/oolite/PKGBUILD
+++ b/community/oolite/PKGBUILD
@@ -1,44 +1,42 @@
-# $Id: PKGBUILD 99040 2013-10-23 00:39:15Z svenstaro $
+# $Id: PKGBUILD 114634 2014-07-02 10:45:58Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Lone_Wolf <lonewolf@xs4all.nl>
pkgname=oolite
-pkgver=1.77.1
+pkgver=1.80
pkgrel=1
pkgdesc="A space-sim based on the classic Elite"
arch=('i686' 'x86_64')
url="http://oolite-linux.berlios.de"
license=('GPL2')
-depends=('gnustep-gui' 'sdl_mixer' 'glu' 'espeak' 'nspr' 'python2' 'icu' 'gnustep-base')
+depends=('gnustep-gui' 'sdl_mixer' 'glu' 'espeak' 'nspr' 'python2' 'icu' 'gnustep-base' 'openal')
makedepends=('gcc-objc' 'gnustep-make' 'curl' 'zip' 'mesa')
-options=(!makeflags)
+#options=(makeflags)
source=(oolite
- http://download.berlios.de/oolite-linux/oolite-source-${pkgver}.tar.bz2)
+ "https://github.com/OoliteProject/oolite/releases/download/1.80b/oolite-source-${pkgver}.tar.bz2")
md5sums=('b182976fade9b64a3b3702e2a8c72bf0'
- '6d446df433fde796964c68856389c8dd')
+ 'ded6afaf83f97624122c2dd999319166')
build() {
- cd $srcdir
- cp -r ${srcdir}/oolite-source-${pkgver} ${srcdir}/${pkgname}-build
-
- cd ${srcdir}/${pkgname}-build
- unset CPPFLAGS
- sed -i '/void png_error/d' src/Core/Materials/OOPNGTextureLoader.m
- sed -i "/ADDITIONAL_OBJCFLAGS/s/=/= -fobjc-exceptions/" GNUmakefile
- make -f libjs.make debug=no
- make -f Makefile release
+ cd oolite-source-${pkgver}
+ unset CPPFLAGS
+ sed -i '/void png_error/d' src/Core/Materials/OOPNGTextureLoader.m
+ sed -i "/ADDITIONAL_OBJCFLAGS/s/=/= -fobjc-exceptions/" GNUmakefile
+ make -f Makefile release
}
package() {
- mkdir -p ${pkgdir}/usr/bin
- mkdir -p ${pkgdir}/usr/share/{oolite,applications,pixmaps,doc/oolite}
- cd ${srcdir}/${pkgname}-build
- cp -r oolite.app/* ${pkgdir}/usr/share/oolite/
+ cd oolite-source-${pkgver}
+
+ mkdir -p ${pkgdir}/usr/bin
+ mkdir -p ${pkgdir}/usr/share/{oolite,applications,pixmaps,doc/oolite}
+
+ cp -r oolite.app/* ${pkgdir}/usr/share/oolite/
#install shellscript and icon
- install -D -m755 ../oolite ${pkgdir}/usr/bin/oolite
- install -D -m644 installers/FreeDesktop/oolite-icon.png ${pkgdir}/usr/share/pixmaps/oolite-icon.png
+ install -D -m755 ../oolite ${pkgdir}/usr/bin/oolite
+ install -D -m644 installers/FreeDesktop/oolite-icon.png ${pkgdir}/usr/share/pixmaps/oolite-icon.png
# copy .desktop file
- install -D -m644 installers/FreeDesktop/oolite.desktop ${pkgdir}/usr/share/applications/oolite.desktop
+ install -D -m644 installers/FreeDesktop/oolite.desktop ${pkgdir}/usr/share/applications/oolite.desktop
# documentation
- install -D -m644 Doc/AdviceForNewCommanders.pdf Doc/OoliteReadMe.pdf Doc/OoliteRS.pdf ${pkgdir}/usr/share/doc/oolite/
+ install -D -m644 Doc/AdviceForNewCommanders.pdf Doc/OoliteReadMe.pdf Doc/OoliteRS.pdf ${pkgdir}/usr/share/doc/oolite/
}
# vim:set ts=2 sw=2 et: