1 # Contributor: quantax -- contact via Arch Linux forum or AUR
3 pkgname=ut1999-bonuspack2
6 pkgdesc="Bonuspack 2: The Digital Extremes Pack for Unreal Tournament."
8 url="http://www.unrealtournament2004.com/utgoty/"
10 groups=(ut1999-goty ut1999-bonuspacks)
12 makedepends=(umodunpack)
13 replaces=(ut-bonuspack2)
15 source=(http://downloads.unrealadmin.org/UnrealTournament/BonusPack/utbonuspack2.zip
17 md5sums=('5cf174dab9f91827da9935231c8d1ea6'
18 '4c08119de5a5f1be0baf6e6abf2ef7e0')
22 /bin/install --mode=644 -D -- CTF-HallOfGiants.unr \
23 "$pkgdir/opt/ut/Maps/CTF-HallOfGiants.unr" || return 1
24 /bin/install --mode=644 -D -- CTF-Orbital.unr \
25 "$pkgdir/opt/ut/Maps/CTF-Orbital.unr" || return 1
27 # Cannot unpack directly. Umodpack wants to apply some .ini changes.
28 /usr/bin/umodunpack --base "$pkgdir/opt/ut" --extract "de.int" DE.umod \
30 /usr/bin/umodunpack --base "$pkgdir/opt/ut" --extract "de.u" DE.umod \
32 /usr/bin/umodunpack --base "$pkgdir/opt/ut" \
33 --extract "demutators-readme.txt" DE.umod || return 1
34 /usr/bin/umodunpack --base "$pkgdir/opt/ut" --extract "de-logo.bmp" \
36 /bin/chmod -R -- 644 $pkgdir/opt/ut/*/*