updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / quake-qrp-textures / PKGBUILD
blob2406b861f8613533edae13958824f4cecd401975
1 # Contributor: Slash <demodevil5[at]yahoo[dot]com>
3 pkgname=quake-qrp-textures
4 pkgver=1.00
5 pkgrel=1
6 pkgdesc="High Quality Textures for Quake from the Quake Revitalization Project (QRP)"
7 url="http://facelift.quakedev.com/"
8 license=('custom')
9 arch=('any')
10 depends=('quake')
11 makedepends=('p7zip')
12 conflicts=()
13 provides=()
14 install=
15 source=("QRP_map_textures_v.${pkgver}.pk3.7z::http://facelift.quakedev.com/downloads/dl_dod.se.php?f=QRP_map_textures_v.${pkgver}.pk3.7z" \
16 "QRP_normalmap_textures_add-on_v.${pkgver}.pk3.7z::http://facelift.quakedev.com/downloads/dl_dod.se.php?f=QRP_normalmap_textures_add-on_v.${pkgver}.pk3.7z")
17 md5sums=('9958c0130d129aacdb36cbd4a68b1fbb'
18          'ff88d1ef2b3e78560c2bd20843a25424')
20 build() {
21     # Create Destination Directories
22     install -d $pkgdir/opt/quake/id1/
24     # Install Textures
25     7z x -o$pkgdir/opt/quake/id1/ $srcdir/QRP_map_textures_v.${pkgver}.pk3.7z \
26         QRP_map_textures_v.${pkgver}.pk3
28     # Install Noramlmap Textures
29     7z x -o$pkgdir/opt/quake/id1/ $srcdir/QRP_normalmap_textures_add-on_v.${pkgver}.pk3.7z \
30         QRP_normalmap_textures_add-on_v.${pkgver}.pk3