diff options
Diffstat (limited to 'desktop/xmonad/xmonad.SlackBuild')
-rw-r--r-- | desktop/xmonad/xmonad.SlackBuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/desktop/xmonad/xmonad.SlackBuild b/desktop/xmonad/xmonad.SlackBuild index 3603c149a6d77..54de017823b67 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 |