summaryrefslogtreecommitdiff
path: root/desktop/xmobar/xmobar.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2013-03-04 00:52:20 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-03-04 17:26:57 -0500
commit9651832f4bf0af9cb319dffc6fc4b13f463f99bc (patch)
treef33066087961ca52f23a078f7c9d52d60ae9689c /desktop/xmobar/xmobar.SlackBuild
parent7ea2be514d1a7ec919a9a05335cf6fb4ba58d10b (diff)
downloadslackbuilds-9651832f4bf0af9cb319dffc6fc4b13f463f99bc.tar.gz
desktop/xmobar: Updated for version 0.16.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/xmobar/xmobar.SlackBuild')
-rw-r--r--desktop/xmobar/xmobar.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/desktop/xmobar/xmobar.SlackBuild b/desktop/xmobar/xmobar.SlackBuild
index f895befa0f..fb16fc8c17 100644
--- a/desktop/xmobar/xmobar.SlackBuild
+++ b/desktop/xmobar/xmobar.SlackBuild
@@ -4,7 +4,7 @@
# Written by Xavier Maillard <xma@gnu.org>
# Updated by Andy Bailey <bailey@akamai.com>
-# Copyright 2012 Mikko Värri, Finland
+# Copyright 2013 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xmobar
-VERSION=${VERSION:-0.15}
+VERSION=${VERSION:-0.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,9 +73,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix mtl 2.1 compatibility
-patch -p0 <$CWD/xmobar_cabal.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup configure \
@@ -95,7 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE readme.md news.md samples \
+cp -a license readme.md news.md samples \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild