diff options
author | LEVAI Daniel <leva@ecentrum.hu> | 2016-10-13 17:06:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-13 17:06:50 +0700 |
commit | 8cd3db79c16bb4521751a004d0b079858cd2662b (patch) | |
tree | 8eb0aba85a8c82ce3fa4c17787433c80306dec09 /games/tanglet | |
parent | 114d98cab8c6592e4c9c0eb897acbfa41cb88fea (diff) |
games/tanglet: Updated for version 1.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/tanglet')
-rw-r--r-- | games/tanglet/tanglet.SlackBuild | 21 | ||||
-rw-r--r-- | games/tanglet/tanglet.info | 8 |
2 files changed, 16 insertions, 13 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 diff --git a/games/tanglet/tanglet.info b/games/tanglet/tanglet.info index 38fa05d3e0629..a317eb7285831 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" |