diff options
author | LEVAI Daniel <leva@ecentrum.hu> | 2013-12-02 22:34:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-12-02 22:34:10 +0700 |
commit | 4b01b571b333562408b145256e7b3948441d8ddb (patch) | |
tree | 231d7098e1d19c281feba26516cf1c732183cada /desktop/spectrwm/spectrwm.SlackBuild | |
parent | 01b88d84283879d4f43c5bdbb8111fbdafcd43ce (diff) | |
download | slackbuilds-4b01b571b333562408b145256e7b3948441d8ddb.tar.gz |
desktop/spectrwm: Updated for version 2.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/spectrwm/spectrwm.SlackBuild')
-rw-r--r-- | desktop/spectrwm/spectrwm.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/desktop/spectrwm/spectrwm.SlackBuild b/desktop/spectrwm/spectrwm.SlackBuild index 8e408f48c9..638221a334 100644 --- a/desktop/spectrwm/spectrwm.SlackBuild +++ b/desktop/spectrwm/spectrwm.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=spectrwm -VERSION=${VERSION:-2.3.0} +VERSION=${VERSION:-2.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,11 +65,12 @@ tar xvf $CWD/$PRGNAM-$VERSION.tgz 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 {} \; +patch -p0 < $CWD/patches/01-linux_Makefile_swmhack_libdir.diff cd linux CFLAGS="$SLKCFLAGS" make \ PREFIX=/usr \ @@ -82,7 +83,9 @@ cd linux DESTDIR=$PKG cd .. -strip --strip-unneeded $PKG/usr/bin/spectrwm +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 + rm -f $PKG/usr/bin/scrotwm # Fixup the manpages |