mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
desktop/xmonad: Updated for version 0.12.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
parent
e9b1fc90fe
commit
fdf2d8aa65
2 changed files with 13 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="xmonad"
|
||||
VERSION="0.11"
|
||||
VERSION="0.12"
|
||||
HOMEPAGE="http://xmonad.org/"
|
||||
DOWNLOAD="http://hackage.haskell.org/packages/archive/xmonad/0.11/xmonad-0.11.tar.gz"
|
||||
MD5SUM="5ac9dc1dae5e85dcbdfb9f70cbe312c1"
|
||||
DOWNLOAD="http://hackage.haskell.org/packages/archive/xmonad/0.12/xmonad-0.12.tar.gz"
|
||||
MD5SUM="6fd5f268d38e940e090af0726795f513"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="haskell-extensible-exceptions haskell-X11 haskell-mtl haskell-utf8-string"
|
||||
REQUIRES="ghc haskell-X11 haskell-data-default haskell-extensible-exceptions haskell-mtl haskell-setlocale haskell-utf8-string"
|
||||
MAINTAINER="Mikko Värri"
|
||||
EMAIL="vmj@linuxbox.fi"
|
||||
|
|
Loading…
Reference in a new issue