summaryrefslogtreecommitdiff
path: root/libraries/libticables2/libticables2.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 06:35:01 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 20:06:56 -0600
commitcd4dafccade61cbbb8bbc5da0815a45499300a34 (patch)
treeb00a8c11bef86b7480a3facfb7d94279063046a2 /libraries/libticables2/libticables2.SlackBuild
parent24fdbbe24da7d2ef9a40e3c5167cb0b1a2db1232 (diff)
downloadslackbuilds-cd4dafccade61cbbb8bbc5da0815a45499300a34.tar.gz
libraries/libticables2: Updated for version 1.3.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libticables2/libticables2.SlackBuild')
-rw-r--r--libraries/libticables2/libticables2.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/libraries/libticables2/libticables2.SlackBuild b/libraries/libticables2/libticables2.SlackBuild
index 856f441fab..97693109ea 100644
--- a/libraries/libticables2/libticables2.SlackBuild
+++ b/libraries/libticables2/libticables2.SlackBuild
@@ -21,16 +21,14 @@
# that is unlikely, as I am rather tall.
PRGNAM=libticables2
-VERSION=1.3.3
+VERSION=${VERSION:-1.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -54,7 +52,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -63,10 +61,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+find -L . \
+ \( -perm 777 -o -perm 775 -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 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" \
@@ -83,7 +82,7 @@ make
DESTDIR=$PKG make install
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CONFIG ChangeLog COPYING NEWS README docs \
+cp -a AUTHORS CONFIG ChangeLog COPYING README docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile" -exec rm {} \;