summaryrefslogtreecommitdiff
path: root/desktop/xmonad/xmonad.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-09 15:09:30 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-11 03:17:21 +0700
commitfdf2d8aa657e10f74af0ae532319105238ba2497 (patch)
treee9de8beda5e42d8afedf397496fa53ae203f0730 /desktop/xmonad/xmonad.SlackBuild
parente9b1fc90fec44cd4fbb2e95766d828ae62eb8cf3 (diff)
downloadslackbuilds-fdf2d8aa657e10f74af0ae532319105238ba2497.tar.gz
desktop/xmonad: Updated for version 0.12.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'desktop/xmonad/xmonad.SlackBuild')
-rw-r--r--desktop/xmonad/xmonad.SlackBuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/desktop/xmonad/xmonad.SlackBuild b/desktop/xmonad/xmonad.SlackBuild
index 3603c149a6..54de017823 100644
--- a/desktop/xmonad/xmonad.SlackBuild
+++ b/desktop/xmonad/xmonad.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xmonad
-VERSION=${VERSION:-0.11}
+VERSION=${VERSION:-0.12}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -66,13 +66,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Enable -threaded GHC option only for the binary, not for the libs.
-patch -p0 <$CWD/xmonad_cabal.patch
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,8 +80,7 @@ runghc Setup configure \
--enable-shared \
--enable-library-profiling \
--enable-executable-dynamic \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --flags="threaded"
+ --docdir=/usr/doc/$PRGNAM-$VERSION
runghc Setup build
runghc Setup haddock
@@ -123,7 +119,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-cp -a CONFIG README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGES.md CONFIG LICENSE README.md STYLE TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install