summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 25 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1cc0d423835..7f4258e693d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,49 @@
# Maintainer: Matthias Lamers <aussieevil@hotmail.com>
pkgname=ohrrpgce
-pkgver=etheldreme.r9869
+pkgver=gorgonzola.r11914
pkgrel=1
pkgdesc="A role playing game creation engine"
arch=(i686 x86_64)
license=(GPL)
url="http://rpg.hamsterrepublic.com/ohrrpgce/Main_Page"
depends=('sdl_mixer' 'openeuphoria' 'libxpm' 'libxrandr' 'ncurses' 'xterm')
-makedepends=('subversion' 'freebasic' 'scons' 'openeuphoria' 'dos2unix')
+makedepends=('subversion' 'freebasic' 'python2-scons')
optdepends=('timidity-freepats: midi music support')
-source=(svn+https://rpg.hamsterrepublic.com/source/rel/etheldreme)
+source=(svn+https://rpg.hamsterrepublic.com/source/rel/gorgonzola)
pkgver(){
- cd "${srcdir}/etheldreme"
+ cd "${srcdir}/gorgonzola"
local ver="$(svnversion)"
- printf "%s.r%s" "etheldreme" "${ver//[[:alpha:]]}"
+ printf "%s.r%s" "gorgonzola" "${ver//[[:alpha:]]}"
}
prepare() {
- cd "${srcdir}/etheldreme"
- sed 's|env python|env python2|' -i reloadbasic/reloadbasic.py
- sed 's|env python|env python2|' -i SConscript
- chmod +x reloadbasic/reloadbasic.py
- dos2unix -o *.rbas
- PATH=$PATH:/usr/share/openeuphoria/bin/
+ cd "${srcdir}/gorgonzola"
+ #sed 's|env python|env python2|' -i reloadbasic/reloadbasic.py
+ #sed 's|env python|env python2|' -i SConscript
+ #sed 's|gcc_flags = \[\]|gcc_flags = ["-Wno-format"]|' -i SConscript
+ sed 's/, HSPEAK\||//' -i SConscript
+ #chmod +x reloadbasic/reloadbasic.py
+ #dos2unix -o *.rbas
+ #PATH=$PATH:/usr/share/openeuphoria/bin/
#patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}
build() {
- cd "${srcdir}/etheldreme"
+ cd "${srcdir}"
+ mkdir -p release/usr/share/games/ohrrpgce
+ cd "${srcdir}/gorgonzola"
+ cat << EOF > hspeak
+#!/bin/bash
+/usr/share/openeuphoria/bin/eui /usr/share/games/ohrrpgce/hspeak.exw $*
+EOF
+ cp hspeak.exw "${srcdir}/release/usr/share/games/ohrrpgce"
+ chmod a+x hspeak
+ #cd ..
if [ "$CARCH" = "x86_64" ]; then
- scons arch=64 game custom hspeak unlump relump debug=0 install destdir='../release'
+ scons2 arch=64 game custom unlump relump release=1 install destdir='../release'
else
- scons game custom hspeak unlump relump debug=0 install destdir='../release'
+ scons2 game custom unlump relump release=1 install destdir='../release'
fi
cd vikings
"${srcdir}/release/usr/share/games/ohrrpgce/relump" vikings.rpgdir vikings.rpg