updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / eduke32-dukeplus / PKGBUILD
blobf960caa4745cac09fcdfdddb0359dcf4d06a045e
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
3 pkgname=eduke32-dukeplus
4 pkgver=2.21
5 pkgrel=2
6 pkgdesc="An EDuke32 mod providing optional enhancements like new options and effects"
7 arch=('any')
8 url="http://deeperthought.dukertcm.com/dp/"
9 license=('GPL')
10 depends=('eduke32>=20090313')
11 makedepends=('unrar' 'unzip')
12 source=( http://deeperthought.dukertcm.com/dp/DukePlus.rar \
13         $pkgname.sh 'eduke32-dukeplus.desktop' 'dpcons.zip')
15 md5sums=('cb3e9bd27c9d51d67f0c6169c55bf967'
16          '578dc25020e24fdf532f563df1f9aec8'
17          '9f32d5cf1062e061f42566f614f86b70'
18          'd3d934bfea861da2c3c9ba1739a988c0')
20 build() {
21   unrar x -o+ -inul DukePlus.rar || return 1
22   #fix
23   unzip -o -q dpcons.zip -d DukePlus
25 #  sed '/dp.cfg/d' -i DukePlus/dpcons/DUKEPLUS.CON
26   
27   cd ${srcdir}
28   
29   mkdir -p ${pkgdir}/usr/share/eduke32
30   cp -r DukePlus ${pkgdir}/usr/share/eduke32/ 
31   find ${pkgdir} -type f -exec chmod 644 {} \;
34   install -Dm 755 $pkgname.sh ${pkgdir}/usr/bin/${pkgname}
35   install -Dm 644 $srcdir/${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
38 # vim:set ts=2 sw=2 et: