diff options
author | R. S. Ananda Murthy <rsamurti@gmail.com> | 2015-12-02 21:28:08 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-12-02 21:28:08 +0700 |
commit | 87c6c426bd7ff35e906815475f071364758eebdb (patch) | |
tree | 0be124e1c72ea12db19572551a78a10077348337 /graphics/qelectrotech/qelectrotech.SlackBuild | |
parent | 35bb94a4e444ca59f1061380a43e2c4346928831 (diff) |
graphics/qelectrotech: Updated for version 0.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/qelectrotech/qelectrotech.SlackBuild')
-rw-r--r-- | graphics/qelectrotech/qelectrotech.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/graphics/qelectrotech/qelectrotech.SlackBuild b/graphics/qelectrotech/qelectrotech.SlackBuild index 2a7f862f09741..cafcf4b360b59 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] |