updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / eduke32-hrp / PKGBUILD
blob2387184feeee0f47d887a1c0eeab85d2f4e2effb
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
3 pkgname=eduke32-hrp
4 pkgver=4.1.1
5 pkgrel=2
6 pkgdesc="High-resolution textures, 3D models and OGG Vorbis soundtrack for EDuke32"
7 arch=('any')
8 url="http://hrp.duke4.net/"
9 license=('HRP Art' 'CGTextures')
10 depends=('eduke32>=20081121')
11 conflicts=('duke3d-hrp')
12 source=("http://www.duke4.org/files/hrp/dn3d_hrp-4.0(321).zip" \
13         "http://www.duke4.org/files/nightfright/eduke32_mus.zip" \
14         "CGTextures.license" \
15         "http://www.duke4.org/files/nightfright/xxx_lite.zip" \
16         "http://www.duke4.org/files/nightfright/hrp_update.zip" \
17         "http://www.duke4.org/files/nightfright/maphacks.zip")
18 noextract=(xxx_lite.zip eduke32_mus.zip hrp_update.zip maphacks.zip)
20 md5sums=('01ec2c1d9be94bcb556c910814f2b85f'
21          '2b6fd9c1b69fc5f6e895b27bf6b02cd1'
22          '82167693ec2467aa5fa5c418a4a5f207'
23          '1bab1a6ec6e76edfcf7a5993f881b134'
24          'd773c6c19cec58b63428fd3807fba10a'
25          'ad29ec947e8931ff8e7db07913cd3a71')
27 build() {
28   msg "Extracting additional included zip files..."
30   bsdtar -x -f autoload/duke3d.grp/duke3d_hrp.zip || return 1
31   bsdtar -x -f eduke32_mus.zip || return 1
32   bsdtar -x -f xxx_lite.zip || return 1
33   bsdtar -x -f maphacks.zip || return 1
34   bsdtar -x -f hrp_update.zip || return 1
37   mkdir -p "$pkgdir"/usr/share/eduke32
38   cp -rf *.def *.mhk highres/ "$pkgdir"/usr/share/eduke32/
40   find "$pkgdir" -type f -exec chmod 644 {} \;
42   install -Dm644 hrp_art_license.txt "$pkgdir"/usr/share/licenses/$pkgname/hrp_art_license.txt
43   install -m644 CGTextures.license "$pkgdir"/usr/share/licenses/$pkgname/
46 # vim:set ts=2 sw=2 et: