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>
This commit is contained in:
Andrew Clemons 2022-02-09 19:23:57 +13:00 committed by Willy Sudiarto Raharjo
parent 9d33631cf5
commit aebc923f93
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 5 deletions

View file

@ -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

View file

@ -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"