From b1e8894c74671ec601770747428d3d76d6237f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikko=20V=C3=A4rri?= Date: Tue, 24 Feb 2015 22:24:41 +0200 Subject: [PATCH] desktop/xmonad: Examples are placed differently under GHC 7.8.4. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mikko Värri Signed-off-by: Willy Sudiarto Raharjo --- desktop/xmonad/xmonad.SlackBuild | 13 +++++++------ 1 file 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