aboutsummaryrefslogtreecommitdiff
path: root/games/tanglet/tanglet.SlackBuild
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2016-10-13 17:06:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-13 17:06:50 +0700
commit8cd3db79c16bb4521751a004d0b079858cd2662b (patch)
tree8eb0aba85a8c82ce3fa4c17787433c80306dec09 /games/tanglet/tanglet.SlackBuild
parent114d98cab8c6592e4c9c0eb897acbfa41cb88fea (diff)
games/tanglet: Updated for version 1.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/tanglet/tanglet.SlackBuild')
-rw-r--r--games/tanglet/tanglet.SlackBuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/games/tanglet/tanglet.SlackBuild b/games/tanglet/tanglet.SlackBuild
index c019c0d728d42..9e58c06c33e21 100644
--- a/games/tanglet/tanglet.SlackBuild
+++ b/games/tanglet/tanglet.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2013 LEVAI Daniel
+# Copyright (c) 2013-2016 LEVAI Daniel
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -28,7 +28,7 @@
# Build script for tanglet
PRGNAM=tanglet
-VERSION=${VERSION:-1.2.2}
+VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,24 +69,27 @@ tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2
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 {} \;
mkdir build
cd build
- qmake PREFIX=$PKG/usr ../
+ qmake-qt5 PREFIX=$PKG/usr ../
CFLAGS="$SLKCFLAGS" make
make install
cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
-cp -a ChangeLog COPYING CREDITS INSTALL \
- $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a ChangeLog COPYING CREDITS INSTALL $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
+mv $PKG/usr/share/man $PKG/usr/
+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/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh