Permalink
Browse files

Update homm2 versions, DOSBox probably doesn't work because of the ne…

…w config files
  • Loading branch information...
Tea23 committed Sep 11, 2013
1 parent faa8430 commit 0a77b8bbc6d8aadc0081a2ba04ecb6ea4f664f72
Showing with 24 additions and 8 deletions.
  1. +2 −2 products/homm_2_gold/PKGBUILD
  2. +19 −3 products/homm_2_gold/base/PKGBUILD
  3. +3 −3 products/homm_2_gold/dosbox/PKGBUILD
@@ -1,8 +1,8 @@
# Part of the unofficial GOG.com PKGBUILD project: http://github.com/Tea23/arch-gog
# Maintainer: Joe Davison <joedavison.davison@gmail.com>
pkgname=gog-homm_2_gold
pkgver=1.0.0.18
pkgname=gog-homm2_gold
pkgver=2.0.0.24
pkgrel=1
pkgdesc='Fantasy turn-based strategy game, the sequel to Heroes of Might and Magic'
arch=('any')
@@ -19,9 +19,11 @@ build() {
cd $srcdir
if [ ! -f setup_${_gogname}_$pkgver.exe ]; then
error "You must have setup_${_gogname}_$pkgver.exe present in the source dir: $PWD"
error "You must have setup_${_gogname}_$pkgver.exe present in the source dir:"
error "$PWD"
error "Download the game from your GOG shelf and try again. Stopping."
return 1
else
msg "Checking file hash..."
if [[ `md5sum setup_${_gogname}_$pkgver.exe` == *$md5sums* ]]; then
@@ -33,15 +35,29 @@ build() {
return 1
fi
if [ -d $srcdir/junk ]; then
rm -r $srcdir/junk
mkdir $srcdir/junk
else
mkdir $srcdir/junk
fi
if [ ${_killjunk} == true ]; then
msg "Deleting Windows-specific files"
rm -rf app/{Support,gog}.ico app/DOSBOX app/GameuxInstallHelper.dll
mv app/{Support,gog}.ico junk/
mv app/DOSBOX junk/
mv app/GameuxInstallHelper.dll junk/
else
msg "Not removing any Windows-only junk"
fi
mv app/gfw_high.ico $srcdir/junk
cd $srcdir/junk
icotool -x -i 6 gfw_high.ico
icotool -x -i 8 gfw_high.ico
icotool -x -i 9 gfw_high.ico
fi
}
@@ -1,9 +1,9 @@
# Part of the unofficial GOG.com PKGBUILD project: http://github.com/Tea23/arch-gog
# Maintainer: Joe Davison <joedavison.davison@gmail.com>
pkgname=gog-homm_2_gold-dosbox
_gogname=homm_2_gold
pkgver=1.0.1.16
_gogname=homm2_gold
pkgname=gog-${_gogname}-dosbox
pkgver=2.0.0.24
pkgrel=2
pkgdesc="DOSBox launcher for Heroes of Might and Magic 2 from GOG.com"
arch=('i686' 'x86_64')

1 comment on commit 0a77b8b

@Tea23

This comment has been minimized.

Owner

Tea23 commented on 0a77b8b Sep 11, 2013

Oh yeah this won't build. Icotool errors.

Please sign in to comment.