summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2015-12-02 21:28:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-02 21:28:08 +0700
commit87c6c426bd7ff35e906815475f071364758eebdb (patch)
tree0be124e1c72ea12db19572551a78a10077348337 /graphics
parent35bb94a4e444ca59f1061380a43e2c4346928831 (diff)
downloadslackbuilds-87c6c426bd7ff35e906815475f071364758eebdb.tar.gz
graphics/qelectrotech: Updated for version 0.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/qelectrotech/qelectrotech.SlackBuild18
-rw-r--r--graphics/qelectrotech/qelectrotech.info8
2 files changed, 13 insertions, 13 deletions
diff --git a/graphics/qelectrotech/qelectrotech.SlackBuild b/graphics/qelectrotech/qelectrotech.SlackBuild
index 2a7f862f09..cafcf4b360 100644
--- a/graphics/qelectrotech/qelectrotech.SlackBuild
+++ b/graphics/qelectrotech/qelectrotech.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qelectrotech
-VERSION=${VERSION:-0.4}
+VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,7 +59,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-$VERSION-src
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
cd $PRGNAM-$VERSION-src
@@ -71,30 +71,30 @@ 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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-qmake
+qmake-qt5
make
make INSTALL_ROOT=$PKG install
-rm -r $PKG/share
-rm $PKG/usr/share/applications/qelectrotech.desktop
-rm -r $PKG/usr/doc/qelectrotech
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
+rm -rf $PKG/usr/doc/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ELEMENTS.LICENSE LICENSE INSTALL CREDIT README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ELEMENTS.LICENSE LICENSE INSTALL CREDIT README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+mv $PKG/share/* $PKG/usr/share/
+rm -rf $PKG/share
+
mkdir -p $PKG/usr/share/applications
cat <<EOF > $PKG/usr/share/applications/qelectrotech.desktop
[Desktop Entry]
diff --git a/graphics/qelectrotech/qelectrotech.info b/graphics/qelectrotech/qelectrotech.info
index a00e75099f..87fa722b34 100644
--- a/graphics/qelectrotech/qelectrotech.info
+++ b/graphics/qelectrotech/qelectrotech.info
@@ -1,10 +1,10 @@
PRGNAM="qelectrotech"
-VERSION="0.4"
+VERSION="0.5"
HOMEPAGE="http://qelectrotech.org/"
-DOWNLOAD="http://download.tuxfamily.org/qet/tags/20150220/qelectrotech-0.4-src.tar.gz"
-MD5SUM="3699e5718e0adc361511513c9f1f7ea1"
+DOWNLOAD="http://download.tuxfamily.org/qet/tags/20151127/qelectrotech-0.5-src.tar.gz"
+MD5SUM="6fdf6d0a9fa7437e3555d5a940e1a1e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt5"
MAINTAINER="R. S. Ananda Murthy"
EMAIL="rsamurti@gmail.com"