summaryrefslogtreecommitdiff
path: root/manualPorts/openttd-git/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/openttd-git/Pkgfile')
-rw-r--r--manualPorts/openttd-git/Pkgfile20
1 files changed, 6 insertions, 14 deletions
diff --git a/manualPorts/openttd-git/Pkgfile b/manualPorts/openttd-git/Pkgfile
index a3d931d..70a74fc 100644
--- a/manualPorts/openttd-git/Pkgfile
+++ b/manualPorts/openttd-git/Pkgfile
@@ -14,8 +14,9 @@ release=1
source=(http://bundles.openttdcoop.org/opengfx/releases/$gfxversion/opengfx-$gfxversion.zip
http://bundles.openttdcoop.org/opensfx/releases/$sfxversion/opensfx-$sfxversion.zip
http://bundles.openttdcoop.org/openmsx/releases/$msxversion/openmsx-$msxversion.zip
- everything.patch
- clipboard.grf
+ signaltunnel.patch
+ sloped-stations.patch
+ underground.patch
https://github.com/OpenTTD/OpenTTD/archive/${version##*.}.tar.gz)
build() {
@@ -36,17 +37,9 @@ build() {
sed -i '
s,"\$ROOT_DIR/\.git","/dev/does/not/exist",
' findversion.sh
- cat $SRC/everything.patch | \
- (
- read zeile
- while read zeile
- do
- [[ "${zeile}" == "diff --git a/"* ]] && break
- done
- echo "${zeile}"
- cat
- ) | \
- patch -p1
+ patch -p1 -i "$SRC/signaltunnel.patch"
+ patch -p1 -i "$SRC/sloped-stations.patch"
+ patch -p1 -i "$SRC/underground.patch"
sed -i '
s/readme\.txt/README.md/g
@@ -77,7 +70,6 @@ build() {
install -d $PKG/usr/share/openttd/gm
install -m 644 $SRC/openmsx-$msxversion/* $PKG/usr/share/openttd/gm
chown -R root:root $PKG/usr/share/openttd/gm/*
- install -m644 $SRC/clipboard.grf $PKG/usr/share/openttd/baseset/
# Remove unnecessary languages
cp $PKG/usr/share/openttd/lang/{english,german}.lng $SRC