summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e7187ce18f1909c48cec36288efea94c6677f868 (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
# Maintainer: robertfoster

pkgname=unrealtournament-bonuspack1
pkgver=20000225
pkgrel=3
pkgdesc="Bonuspack 1: The Epic Pack for Unreal Tournament."
arch=('i686' 'x86_64')
url="http://www.unrealtournament2004.com/utgoty/"
license=('custom')
groups=(unrealtournament unrealtournament-bonuspacks)
depends=(unrealtournament)
makedepends=(umodunpack)
conflicts=(ut1999-bonuspack1)
source=(https://github.com/XenGi/oldgames/raw/master/ut/utbonuspack.zip)

package() {
    cd "${srcdir}"
    install --directory -m775 -- ${pkgdir}/opt/ut/{System,Textures}
    umodunpack --base ${pkgdir}/opt/ut --unpack UTBonusPack.umod \
            || return 1
    mv -f -t ${pkgdir}/opt/ut/System -- ${pkgdir}/opt/ut/system/*
    mv -f -t ${pkgdir}/opt/ut/Textures -- ${pkgdir}/opt/ut/textures/*
    rm -rf -- ${pkgdir}/opt/ut/{system,textures}
}

md5sums=('e79b05b8a302593b53721e2a4295c6c0')