mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
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>
This commit is contained in:
parent
ec46a8ebfe
commit
b1e8894c74
1 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue