summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFoolEcho2017-06-05 10:45:14 +0200
committerFoolEcho2017-06-05 10:45:14 +0200
commit32cf23ae3c5f774cb5a3b2a7a27a92f92ba99c4b (patch)
tree2dc12c60fa86336ab21228e9809ce0511df15c35
parent5de9b9e2ff4b61e3fbf554826f0d13875e98e8bc (diff)
downloadaur-32cf23ae3c5f774cb5a3b2a7a27a92f92ba99c4b.tar.gz
Update to 3.6.5
Fixed preprocessor options (SDL.h not found)
-rw-r--r--ChangeLog4
-rw-r--r--PKGBUILD6
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 06408b96c374..397917737d3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-06-05
+ * 3.6-5 :
+ Fixed preprocessor options (SDL.h not found)
+
2013-02-28 FoolEcho <foolecho at gmail dot com>
* 3.6-4 :
diff --git a/PKGBUILD b/PKGBUILD
index e88e465f7609..409953d87606 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=zelda-olb-fr
_name=zelda-olb
pkgver=3.6
-pkgrel=4
+pkgrel=5
arch=('i686' 'x86_64')
pkgdesc="Zelda: Oni Link Begins is the sequel of Zelda: Return of the Hylian (french version)"
url="http://www.zeldaroth.fr/"
@@ -39,6 +39,10 @@ prepare () {
# Create the directory $HOME/.zelda-olb if it doesnt exist
sed -i -e s~'(NULL));'~'&\n\tif (system(\"stat $HOME/.'$_name' \&> /dev/null")) system (\"mkdir $HOME/.'$_name'\");'~ main.cpp
+
+ #Fix the preprocessor options (SDL.h not found)
+ sed -i -e "s#CFLAGS =#CFLAGS += -I/usr/include/SDL#g" Makefile
+ sed -i -e "s#LDFLAGS =#LDFLAGS +=#g" Makefile
}
build() {