aboutsummaryrefslogtreecommitdiff
path: root/desktop/xmobar
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-09 19:23:57 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 17:02:20 +0700
commitaebc923f931f7ce7ddb15858db75a2b0812d83fc (patch)
treeec76bb779488bc0bcc5a7580e35a95a2d7f9fd0a /desktop/xmobar
parent9d33631cf5f4debd47543d3a7f05b2271703ee93 (diff)
desktop/xmobar: Updated for version 0.41.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/xmobar')
-rw-r--r--desktop/xmobar/xmobar.SlackBuild12
-rw-r--r--desktop/xmobar/xmobar.info6
2 files changed, 13 insertions, 5 deletions
diff --git a/desktop/xmobar/xmobar.SlackBuild b/desktop/xmobar/xmobar.SlackBuild
index 4259e84cdac9a..d93d7af1591e6 100644
--- a/desktop/xmobar/xmobar.SlackBuild
+++ b/desktop/xmobar/xmobar.SlackBuild
@@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xmobar
-VERSION=${VERSION:-0.28.1}
+VERSION=${VERSION:-0.41}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,6 +77,14 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+cat << EOF > Setup.hs
+module Main (main) where
+
+import Distribution.Simple
+
+main :: IO ()
+main = defaultMain
+EOF
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -104,7 +112,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- license readme.md changelog.md samples \
+ changelog.md license readme.org examples doc \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/desktop/xmobar/xmobar.info b/desktop/xmobar/xmobar.info
index 60778f3e679d6..fddea032a7dbb 100644
--- a/desktop/xmobar/xmobar.info
+++ b/desktop/xmobar/xmobar.info
@@ -1,8 +1,8 @@
PRGNAM="xmobar"
-VERSION="0.28.1"
+VERSION="0.41"
HOMEPAGE="https://hackage.haskell.org/package/xmobar/"
-DOWNLOAD="https://hackage.haskell.org/package/xmobar-0.28.1/xmobar-0.28.1.tar.gz"
-MD5SUM="a50631f69fce621deb43280345a08703"
+DOWNLOAD="https://hackage.haskell.org/package/xmobar-0.41/xmobar-0.41.tar.gz"
+MD5SUM="f969255e6a0d190c27241daf9bb812de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="haskell-hinotify haskell-iwlib haskell-parsec-numbers haskell-regex-compat haskell-X11-xft haskell-HTTP xmonad-contrib"