blob: b43fe5046f701bfea8bf2206b87cd7648418ce62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Douglas Creager <dcreager@dcreager.net>
pkgname=gog-qfg2
pkgver=2.1.0.34
pkgrel=3
pkgdesc="Quest for Glory 2: Trial by Fire"
arch=('x86_64')
url="https://www.gog.com/game/quest_for_glory"
license=('custom')
depends=('dosbox' 'unionfs-fuse')
makedepends=('innoextract')
source=("local://setup_quest_for_glory2_${pkgver}.exe"
"http://www.sierrahelp.com/Files/Patches/QuestForGlory/QfG2(QG2IMPRT).zip"
"local://gog-qfg2.desktop"
"local://run-qfg2.conf"
"local://run-qfg2.sh")
sha256sums=('efda9c4ddd5753cbf39a25a3d90337f278ea11bd6c8f6352aab934c9d29a2796'
'f1e4f48ec968718896c53cd87a7ae2dd9e5832f8bdc62bb25697d383bd1c0441'
'68e6421220d95d4440bfcbd29030133dada506476f11e92b74bd3439937a0ec6'
'e8e28abd0667bce3d7fbcb66a814d8f445f1d012ee2b084a8e4a57e342900c6c'
'e88ab7fe5da10ddf5e5b1cb68740a16b0406f942792daea91d8015916c1c8765')
prepare() {
innoextract setup_quest_for_glory2_${pkgver}.exe
}
package() {
mkdir -p "${pkgdir}/opt/gog"
cp -R "${srcdir}/app" "${pkgdir}/opt/gog/qfg2"
rm -rf "${pkgdir}/opt/gog/qfg2/DOSBOX"
# Apply import patch from
# http://www.sierrahelp.com/Patches-Updates/Patches-Updates-Games/QuestForGloryUpdates.html#QG2IMPRT
cp "${srcdir}/SCRIPT.805" "${pkgdir}/opt/gog/qfg2"
cp -R "run-qfg2.conf" "${pkgdir}/opt/gog/qfg2"
cp -R "run-qfg2.sh" "${pkgdir}/opt/gog/qfg2"
# Config file that tells game to use SB instead of Roland MIDI for music
#cp -R "RESOURCE.CFG" "${pkgdir}/opt/gog/qfg2"
mkdir -p "${pkgdir}/usr/share/applications"
cp "gog-qfg2.desktop" "${pkgdir}/usr/share/applications"
}
# vim:set ts=2 sw=2 et:
|