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

pkgname=unrealtournament-chaosut
pkgver=1.1
pkgrel=1
pkgdesc="The chaotic Unreal Tournament mod."
arch=('i686' 'x86_64')
url="https://chaoticdreams.org/chaosut/"
license=('custom')
groups=(unrealtournament unrealtournament-bonuspacks)
depends=(unrealtournament)
makedepends=(umodunpack)
install=install.sh
source=("$pkgname-$pkgver.zip::http://files.chaoticdreams.org/Chaos/ChaosUT/chaosut_v1-1_full.zip"
install.sh)

package() {
	install --directory -- "$pkgdir/opt/ut"
	cd "$pkgdir/opt/ut"
	install --directory ChaosUTaddons System
	touch System/UnrealTournament.ini

	umodunpack --base . "$srcdir/CUTDesktop.umod" || return 1
	umodunpack --base . "$srcdir/CUTServerSetup.umod" || return 1
	umodunpack --base . "$srcdir/Chrekinstall.umod" || return 1
	umodunpack --base . "$srcdir/chaosut_v1-1_full.umod" || return 1

	mv ChaosUTaddons/Chreks Help/chaosut
	mv Help/*.* Help/chaosut
	mv chrekbanner.bmp Help/chaosut/Chreks
	rm -fr -- ChaosUTaddons System/UnrealTournament.ini
}

md5sums=('d94a31c812cbff5be586e9d11a150a84'
'e850b42c2f28649e4fe37a8b25ab78d3')