summaryrefslogtreecommitdiff
path: root/development/tkdnd/tkdnd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/tkdnd/tkdnd.SlackBuild')
-rw-r--r--development/tkdnd/tkdnd.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/development/tkdnd/tkdnd.SlackBuild b/development/tkdnd/tkdnd.SlackBuild
index 2ea7b3fde2..3946593af4 100644
--- a/development/tkdnd/tkdnd.SlackBuild
+++ b/development/tkdnd/tkdnd.SlackBuild
@@ -2,11 +2,11 @@
# Slackware build script for tkdnd
-# Written by Zbigniew Baniewski, Zbigniew.Baniewski@gmail.com
+# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
PRGNAM=tkdnd
-VERSION=${VERSION:-2.6}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.7}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -46,10 +46,10 @@ tar xvf $CWD/${PRGNAM}${VERSION}-src.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" \
@@ -66,7 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make 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
# Fix Manual page