diff options
author | Ian D. Brunton <iandbrunton@gmail.com> | 2014-06-23 23:47:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-06-23 23:47:25 +0700 |
commit | a73a20284759165580e87e68caa1c0d2029986a8 (patch) | |
tree | 09127052178face5a335283647672a97eefb517d /desktop/herbstluftwm/herbstluftwm.SlackBuild | |
parent | e48ad80c0aa597967b284bd5ad43c664938468b0 (diff) | |
download | slackbuilds-a73a20284759165580e87e68caa1c0d2029986a8.tar.gz |
desktop/herbstluftwm: Updated for version 0.6.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/herbstluftwm/herbstluftwm.SlackBuild')
-rw-r--r-- | desktop/herbstluftwm/herbstluftwm.SlackBuild | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/desktop/herbstluftwm/herbstluftwm.SlackBuild b/desktop/herbstluftwm/herbstluftwm.SlackBuild index 1d5fe782e3..d0f05519a9 100644 --- a/desktop/herbstluftwm/herbstluftwm.SlackBuild +++ b/desktop/herbstluftwm/herbstluftwm.SlackBuild @@ -2,28 +2,14 @@ # Slackware build script for herbstluftwm -# Copyright Ian D. Brunton <iandbrunton@gmail.com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Written by Ian D. Brunton <iandbrunton@gmail.com> + +# This program is free software. It comes without any warranty. +# Granted WTFPL, Version 2, as published by Sam Hocevar. See +# http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=herbstluftwm -VERSION=${VERSION:-0.5.3} +VERSION=${VERSION:-0.6.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,15 +53,17 @@ 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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make PREFIX=/usr MANDIR=/usr/man BINDIR=/usr/bin DOCDIR=/usr/doc/$PRGNAM-$VERSION ZSHCOMPLETIONDIR=/usr/share/applications XSESSIONSDIR=/usr/share/applications || exit 1 -make install DESTDIR=$PKG BINDIR=/usr/bin DOCDIR=/usr/doc/$PRGNAM-$VERSION ZSHCOMPLETIONDIR=/usr/share/applications XSESSIONSDIR=/usr/share/applications MAN1DIR=/usr/man/man1 MAN7DIR=/usr/man/man7 +# make +make PREFIX=/usr MANDIR=/usr/man DOCDIR=/usr/doc/$PRGNAM-$VERSION || exit 1 +make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man DOCDIR=/usr/doc/$PRGNAM-$VERSION +# strip: 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 -# Compress man pages +# gzip manpages: 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 |