summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2015-02-24 22:24:41 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-04 07:46:45 +0700
commitb1e8894c74671ec601770747428d3d76d6237f72 (patch)
tree9cad4b3919942d85c7bc9e1680d0d1e21775f648
parentec46a8ebfe3e3e357b75b742864adfdfcdd8c142 (diff)
downloadslackbuilds-b1e8894c74671ec601770747428d3d76d6237f72.tar.gz
desktop/xmonad: Examples are placed differently under GHC 7.8.4.
Signed-off-by: Mikko Värri <vmj@linuxbox.fi> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/xmonad/xmonad.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/desktop/xmonad/xmonad.SlackBuild b/desktop/xmonad/xmonad.SlackBuild
index 79e22220ee..3603c149a6 100644
--- a/desktop/xmonad/xmonad.SlackBuild
+++ b/desktop/xmonad/xmonad.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xmonad
-# Copyright 2013 Mikko Värri, Finland
+# Copyright 2015 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=xmonad
VERSION=${VERSION:-0.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
GHC_VERSION=$(ghc --numeric-version)
@@ -96,10 +96,11 @@ PKGID=$( grep -E "^id: " $PRGNAM-$VERSION.conf | cut -d" " -f2 )
mkdir -p $PKG/$PKGCONFD
mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf
-# Move the example config file
-mv $PKG/usr/share/$PRGNAM-$VERSION/man $PKG/usr/doc/$PRGNAM-$VERSION/man
-rmdir $PKG/usr/share/$PRGNAM-$VERSION
-rmdir $PKG/usr/share
+# Copy the example config file
+cp -a man $PKG/usr/doc/$PRGNAM-$VERSION/man
+
+# $PKG/usr/share contains duplicates of the example config
+rm -rf $PKG/usr/share
# Copy the man page
mkdir -p $PKG/usr/man/man1