diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | simcity-2000-gog.sh | 6 |
3 files changed, 8 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = simcity-2000-gog pkgdesc = Now you can design any city you can imagine and SimCity 2000 will bring it, and its resident Sims, to life. pkgver = 1.0se - pkgrel = 1 + pkgrel = 2 url = https://www.gog.com/game/simcity_2000_special_edition install = simcity-2000-gog.install arch = any @@ -22,7 +22,7 @@ pkgbase = simcity-2000-gog source = fix-permissions.sh sha256sums = 794b9e2e9eb242f99d4a107c7b474b3069506d9ebb5e438d8531eb9193bafdd2 sha256sums = 471482788dbfe607758a13e338241c39f8e8af1efa37d8d4f17310ded2374707 - sha256sums = 5364a8fc69aecf2fb1980b8f1cd988ad0bbd1c31000e78842210eef28c94612d + sha256sums = dc7c554a69147359e686f5687ecff89182049600c2f45e26f793d17b95bc64e9 sha256sums = 9a0b89a2bf114caea1d90a4c57e6e2b2558764c1bc1d84d915d10d853cef733a sha256sums = 487ddedcc8fe98975250cf2436676d227e87bc582611250beec716865f2846bb sha256sums = ec412cfaa82a392a68ab64c288495fca35e51b83fa5224ad977f5dbdf4577da4 @@ -2,7 +2,7 @@ pkgname=simcity-2000-gog pkgver=1.0se -pkgrel=1 +pkgrel=2 pkgdesc="Now you can design any city you can imagine and SimCity 2000 will bring it, and its resident Sims, to life." url="https://www.gog.com/game/simcity_2000_special_edition" license=('custom:eula') @@ -25,7 +25,7 @@ source=("setup_simcity_2000_special_edition_${pkgver}_(28187).exe"::"gogdownload sha256sums=('794b9e2e9eb242f99d4a107c7b474b3069506d9ebb5e438d8531eb9193bafdd2' '471482788dbfe607758a13e338241c39f8e8af1efa37d8d4f17310ded2374707' - '5364a8fc69aecf2fb1980b8f1cd988ad0bbd1c31000e78842210eef28c94612d' + 'dc7c554a69147359e686f5687ecff89182049600c2f45e26f793d17b95bc64e9' '9a0b89a2bf114caea1d90a4c57e6e2b2558764c1bc1d84d915d10d853cef733a' '487ddedcc8fe98975250cf2436676d227e87bc582611250beec716865f2846bb' 'ec412cfaa82a392a68ab64c288495fca35e51b83fa5224ad977f5dbdf4577da4' diff --git a/simcity-2000-gog.sh b/simcity-2000-gog.sh index a89693acbdbd..0100d48ad022 100644 --- a/simcity-2000-gog.sh +++ b/simcity-2000-gog.sh @@ -14,6 +14,7 @@ cat <<EOF $script --windowed $script --scurk + DOSBOX_CMD=dosbox-x $script EOF exit 0 } @@ -23,6 +24,7 @@ popd() { builtin popd > /dev/null; } INSTALL_DIR=/opt/simcity-2000 HOME_DIR="$HOME"/.gog/simcity-2000 +DOSBOX_CMD=${DOSBOX_CMD:-dosbox} if which unionfs &> /dev/null; then USE_UNIONFS=1 @@ -72,9 +74,9 @@ if [ "$USE_UNIONFS" ]; then unionfs -o cow,relaxed_permissions "$UPPER_DIR=RW:$LOWER_DIR=RO" "$UNION_DIR" echo "Launching game within $UNION_DIR" - pushd "$UNION_DIR" && dosbox "${configs[@]}" + pushd "$UNION_DIR" && "$DOSBOX_CMD" "${configs[@]}" popd && fusermount -u "$UNION_DIR" else echo "Launching game within $INSTALL_DIR" - cd $INSTALL_DIR && dosbox "${configs[@]}" + cd $INSTALL_DIR && "$DOSBOX_CMD" "${configs[@]}" fi |