summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanskritFritz2020-11-02 10:33:52 +0100
committerSanskritFritz2020-11-02 10:33:52 +0100
commit9baf043f672b0c2312f039fa351aac6907ff6b2e (patch)
tree69fcf058fa09dcc0a2001745c40c90860ee6d4a0
parentb78800b7b6d8880f17981704147edb818c7859c2 (diff)
downloadaur-9baf043f672b0c2312f039fa351aac6907ff6b2e.tar.gz
Added a workaround for missing textures.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d6602ddf112f..33f7b280d977 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = oolite
pkgdesc = A space-sim based on the classic Elite
pkgver = 1.90
- pkgrel = 2
+ pkgrel = 3
url = http://www.oolite.org/
arch = x86_64
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 73db84117c21..659475ae9399 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=oolite
pkgver=1.90
-pkgrel=2
+pkgrel=3
pkgdesc="A space-sim based on the classic Elite"
arch=('x86_64')
url="http://www.oolite.org/"
@@ -15,6 +15,15 @@ source=("oolite" "https://github.com/OoliteProject/oolite/releases/download/$pkg
md5sums=('ade14e17fe9d52d16b35f2e97046362c'
'c34c6f88606be75c90cc52c5a4173611')
+prepare() {
+ cd "oolite-source-$pkgver"
+
+ # Workaround for missing textures and fonts (thanks Lone_Wolf)
+ # http://aegidian.org/bb/viewtopic.php?f=9&t=20754
+ rm deps/Linux-deps/include/png.h
+ rm deps/Linux-deps/include/pngconf.h
+}
+
build() {
cd "oolite-source-$pkgver"
source /usr/share/GNUstep/Makefiles/GNUstep.sh