summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorichiro2020-07-23 05:50:47 -0700
committerichiro2020-07-23 05:50:47 -0700
commitc998a95e7a1721e7b49070c5274eff2bb9492a65 (patch)
tree972c7460ead351a250029271f1a7f90f0b9eb651
parent2e8854c96d7050577d2ea9d2555858d3a8cca2c8 (diff)
downloadaur-ohrrpgce.tar.gz
Updating to gorgonzola
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD39
2 files changed, 28 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f2268a016ff..1a824d7663f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ohrrpgce
pkgdesc = A role playing game creation engine
- pkgver = etheldreme.r9869
+ pkgver = gorgonzola.r11914
pkgrel = 1
url = http://rpg.hamsterrepublic.com/ohrrpgce/Main_Page
arch = i686
@@ -8,9 +8,7 @@ pkgbase = ohrrpgce
license = GPL
makedepends = subversion
makedepends = freebasic
- makedepends = scons
- makedepends = openeuphoria
- makedepends = dos2unix
+ makedepends = python2-scons
depends = sdl_mixer
depends = openeuphoria
depends = libxpm
@@ -18,7 +16,7 @@ pkgbase = ohrrpgce
depends = ncurses
depends = xterm
optdepends = timidity-freepats: midi music support
- source = svn+https://rpg.hamsterrepublic.com/source/rel/etheldreme
+ source = svn+https://rpg.hamsterrepublic.com/source/rel/gorgonzola
md5sums = SKIP
pkgname = ohrrpgce
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