diff options
author | Mike Swanson | 2012-12-03 08:41:29 -0800 |
---|---|---|
committer | Mike Swanson | 2012-12-03 08:41:29 -0800 |
commit | bd4a8d87795efa5902921e9a2ecc61fcdc060f50 (patch) | |
tree | 377292c92543620bb09f1d7304c5d4192a29b9db /PKGBUILD | |
download | aur-bd4a8d87795efa5902921e9a2ecc61fcdc060f50.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1373093d4df7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com> + +pkgname=darkplaces-mod +pkgver=20080808 +pkgrel=1 +pkgdesc="Quake mod specific to Darkplaces" +arch=('any') +url="http://icculus.org/twilight/darkplaces/" +license=('GPL2') +depends=('darkplaces') +source=(http://icculus.org/twilight/darkplaces/files/darkplacesmod$pkgver.zip + $pkgname.desktop) +sha256sums=('8a79480eefd2ab95a45c69182906fd0e9fc66118f042495260aaee6e73b9c249' + '073f4fec0be35966c0e8a8a94ee8b118790742c31eb5d6af84989d2e5c9b1001') + +build() { + # Make saner permission modes + find $srcdir -type d -print0 | xargs -0 chmod 755 + find $srcdir -type f -print0 | xargs -0 chmod 644 + + # Copy files to /usr/share/quake + install -Dd $pkgdir/usr/share/quake + cp -a $srcdir/dpmod $pkgdir/usr/share/quake + + # Install the desktop launcher + install -Dm 644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop +} |