updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / wolf3d-shareware / PKGBUILD
blobd82fff8ab2d65d333b8d49da03c9e73e63185c57
1 # Contributor: chris_L <chrislcenter dash mamoru at yahoo.com dot mx>
3 pkgname=wolf3d-shareware
4 pkgver=1.4
5 pkgrel=2
6 pkgdesc='Classic first person shooter, shareware episode data'
7 arch=(any)
8 url="http://www.3drealms.com/wolf3d/index.html"
9 license=('custom')
10 source=('ftp://ftp.3drealms.com/share/1wolf14.zip')
11 md5sums=('a29432cd4a5184d552d8e5da8f80a531')
12 makedepends=('dynamite-svn')
14 build() {
15         cd $srcdir/
16         mkdir wolf3d
17         mv W3DSW14.SHR wolf3d
18         cd wolf3d
19         id-shr-extract W3DSW14.SHR
20         rm W3DSW14.SHR
21         cd ..
22         install -d -m755 $pkgdir/usr/share/
23         install -d -m755 $pkgdir/usr/share/wolf3d
24         cp -R wolf3d $pkgdir/usr/share/
25         install -d -m755 $pkgdir/usr/share/licenses/$pkgname
26         install -m644 wolf3d/vendor.doc "$pkgdir"/usr/share/licenses/wolf3d-shareware/
27         cd $pkgdir/usr/share/wolf3d
28         touch -d 930101 *