summaryrefslogtreecommitdiff
path: root/libraries/tkimg/tkimg.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-27 08:34:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-27 08:34:11 +0700
commit8ddb7cb291886b749339fda128cff32223f6e496 (patch)
treeeee227e6bab8462c6aa9a7c0383da69b84f429d8 /libraries/tkimg/tkimg.SlackBuild
parent69418deb4acf50ea249537849a275ff1e414e532 (diff)
downloadslackbuilds-8ddb7cb291886b749339fda128cff32223f6e496.tar.gz
libraries/tkimg: Updated for version 1.4.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/tkimg/tkimg.SlackBuild')
-rw-r--r--libraries/tkimg/tkimg.SlackBuild25
1 files changed, 11 insertions, 14 deletions
diff --git a/libraries/tkimg/tkimg.SlackBuild b/libraries/tkimg/tkimg.SlackBuild
index b121864c2b..1ed086839a 100644
--- a/libraries/tkimg/tkimg.SlackBuild
+++ b/libraries/tkimg/tkimg.SlackBuild
@@ -23,8 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tkimg
-VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4.2}
+MAJVER=1.4
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,19 +60,17 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM$MAJVER
tar xvf $CWD/$PRGNAM$VERSION.tar.bz2
-cd $PRGNAM$VERSION
+cd $PRGNAM$MAJVER
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 {} \;
-
-# https://bugs.gentoo.org/show_bug.cgi?id=356907
-patch -p1 < $CWD/tkimg-1.4-nojbig.patch
+ \( -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 {} \;
+make distclean
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -92,9 +91,7 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- license.terms README ANNOUNCE \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a license.terms README ANNOUNCE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install