summaryrefslogtreecommitdiff
path: root/haskell/xmonad-contrib/xmonad-contrib.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-09 15:10:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-11 03:17:21 +0700
commit257603fc64d6d7db15cbe40452673174cf27b651 (patch)
tree00fe214d0978a74694c45a851e841ef97e80417e /haskell/xmonad-contrib/xmonad-contrib.SlackBuild
parentfdf2d8aa657e10f74af0ae532319105238ba2497 (diff)
downloadslackbuilds-257603fc64d6d7db15cbe40452673174cf27b651.tar.gz
haskell/xmonad-contrib: Updated for version 0.12.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'haskell/xmonad-contrib/xmonad-contrib.SlackBuild')
-rw-r--r--haskell/xmonad-contrib/xmonad-contrib.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/haskell/xmonad-contrib/xmonad-contrib.SlackBuild b/haskell/xmonad-contrib/xmonad-contrib.SlackBuild
index 704bf3e5b4..89ea84ba92 100644
--- a/haskell/xmonad-contrib/xmonad-contrib.SlackBuild
+++ b/haskell/xmonad-contrib/xmonad-contrib.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xmonad-contrib
-VERSION=${VERSION:-0.11.3}
+VERSION=${VERSION:-0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,10 +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 {} \;
+ \( -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" \
@@ -94,7 +94,9 @@ mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md LICENSE CHANGES.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cp -a scripts $PKG/usr/doc/$PRGNAM-$VERSION/scripts
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild