summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMike Swanson2013-12-11 01:33:22 -0800
committerMike Swanson2013-12-11 01:33:22 -0800
commita815dbe345002a394ea0928e56b988000c4e7bc8 (patch)
tree8d6d5dfb067881eaf8ccb80a0e1ab8d989f14b31 /PKGBUILD
parent646c398b05d853cfcbbb6f10a52c19ab3a932c23 (diff)
downloadaur-a815dbe345002a394ea0928e56b988000c4e7bc8.tar.gz
Move around /usr/share/{applications,icons} in chocolate-doom
The Chocolate Doom .desktop files were included in the -common package even though it would be totally unneeded if Doom was not installed.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fc62f74b6dfa..b6d313323613 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ _pkgname=chocolate-doom # for the individual package functions
pkgname=chocolate-doom
true && pkgname=(chocolate-{doom,heretic,hexen,strife,common})
pkgver=2.0.0
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
url="http://www.chocolate-doom.org/"
license=('GPL2')
@@ -40,6 +40,8 @@ package_chocolate-common() {
cd "${pkgdir}"/usr/share
rm -rf doc man/man5
+ rm -rf applications/chocolate-doom.desktop applications/screensavers \
+ icons/chocolate-doom.png
cd man/man6
rm -f chocolate-{doom,heretic,hexen,strife}.6
}
@@ -57,7 +59,7 @@ package_chocolate-doom() {
cd "${pkgdir}"/usr/share
rm -rf doc/chocolate-{heretic,hexen,strife}
- rm -rf applications icons
+ rm -f applications/chocolate-setup.desktop icons/chocolate-setup.png
rm -f man/man?/chocolate-{heretic,hexen,strife,setup,server}* \
man/man5/{heretic,hexen,strife}.cfg*
}