diff options
Diffstat (limited to 'desktop/xmonad/xmonad.SlackBuild')
-rw-r--r-- | desktop/xmonad/xmonad.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/desktop/xmonad/xmonad.SlackBuild b/desktop/xmonad/xmonad.SlackBuild index 79e22220eebbc..3603c149a6d77 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 |