summaryrefslogtreecommitdiffstats
path: root/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild')
-rw-r--r--libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild b/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild
index d1d59baeb9..1202171d2f 100644
--- a/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild
+++ b/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild
@@ -2,6 +2,9 @@
# Slackware build script for libdesktop-agnostic
+# Originally by Roberto Metere
+# Currently maintained by Ryan P.C. McQuen, WA, ryan.q@linux.com
+
# Copyright (c) 2011 Roberto Metere. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,7 +27,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libdesktop-agnostic
-VERSION=0.3.92
+VERSION=${VERSION:-0.3.94}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,15 +64,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/v$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" \
@@ -85,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
./waf
./waf install --destdir=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION