blob: 22408be3d75f408788ef6358a14e1b9f70a40749 (
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
45
46
47
|
# Maintainer: martin sandsmark <martin.sandsmark@kde.org>
pkgname=ageofconquerors-trial-data
pkgver=2
pkgrel=2
pkgdesc="Data files from Age of Empires II: The Conquerors Demo"
arch=('any')
url='https://www.ageofempires.com/'
license=('custom')
# Use a mirror
#source=(https://archive.org/download/AgeOfEmpiresIiTheConquerorsDemo/Age2XTrial.exe)
source=('https://github.com/sandsmark/freeaoe/releases/download/1/Age2XTrial.exe')
sha1sums=('a0b27848a70bcda203837573445de6e243920170')
makedepends=('cabextract' 'catdoc')
build() {
cd "${srcdir}"
cabextract Age2XTrial.exe
rm -f EULA.txt
catdoc EULAx.RTF > EULA
rm -f README
catdoc Readmex.rtf > README
}
package() {
cd "${srcdir}"
install -Dm 0644 Data/*.{drs,dat,Dat} -t "${pkgdir}/usr/share/ageofconquerors-trial/Data"
install -Dm 0644 Campaign/Media/* -t "${pkgdir}/usr/share/ageofconquerors-trial/Campaign/Media/"
install -Dm 0644 Campaign/*.cpx -t "${pkgdir}/usr/share/ageofconquerors-trial/Campaign/"
install -Dm 0644 Sound/Campaign/*.mp3 -t "${pkgdir}/usr/share/ageofconquerors-trial/Sound/Campaign/"
install -Dm 0644 Sound/Scenario/*.mp3 -t "${pkgdir}/usr/share/ageofconquerors-trial/Sound/Scenario/"
install -Dm 0644 Sound/Midi/*.mid -t "${pkgdir}/usr/share/ageofconquerors-trial/Sound/Midi/"
install -Dm 0644 language{,_x1}.dll -t "${pkgdir}/usr/share/ageofconquerors-trial/"
install -Dm 0644 *.TTF -t "${pkgdir}/usr/share/ageofconquerors-trial/"
install -Dm 644 EULA -t "${pkgdir}/usr/share/licenses/${pkgname}/"
install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
}
|