summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/tanglet/tanglet.SlackBuild21
-rw-r--r--games/tanglet/tanglet.info8
2 files changed, 16 insertions, 13 deletions
diff --git a/games/tanglet/tanglet.SlackBuild b/games/tanglet/tanglet.SlackBuild
index c019c0d728..9e58c06c33 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
diff --git a/games/tanglet/tanglet.info b/games/tanglet/tanglet.info
index 38fa05d3e0..a317eb7285 100644
--- a/games/tanglet/tanglet.info
+++ b/games/tanglet/tanglet.info
@@ -1,10 +1,10 @@
PRGNAM="tanglet"
-VERSION="1.2.2"
+VERSION="1.4.0"
HOMEPAGE="http://gottcode.org/tanglet/"
-DOWNLOAD="http://gottcode.org/tanglet/tanglet-1.2.2-src.tar.bz2"
-MD5SUM="584e50d01323c0686ff094195eba4341"
+DOWNLOAD="http://gottcode.org/tanglet/tanglet-1.4.0-src.tar.bz2"
+MD5SUM="1229f4cecda863230e002a4abac5b0a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt5"
MAINTAINER="LEVAI Daniel"
EMAIL="leva@ecentrum.hu"