diff options
author | Antonio Leal <antonioleal@yahoo.com> | 2022-06-10 00:37:30 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-06-11 08:59:04 +0700 |
commit | ca5b5a7f2fd75ea5d923cd5b887008da3b2437c1 (patch) | |
tree | e8e9108004e472914f54b816ac69c903afab10bd /development/notepadqq | |
parent | e3ac863edb4ff7bca372bd0d0e4dd987439312d5 (diff) |
development/notepadqq: Updated for version 1.4.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/notepadqq')
-rw-r--r-- | development/notepadqq/notepadqq.SlackBuild | 18 | ||||
-rw-r--r-- | development/notepadqq/notepadqq.info | 8 |
2 files changed, 7 insertions, 19 deletions
diff --git a/development/notepadqq/notepadqq.SlackBuild b/development/notepadqq/notepadqq.SlackBuild index 30696649edd41..c7fc6706911ea 100644 --- a/development/notepadqq/notepadqq.SlackBuild +++ b/development/notepadqq/notepadqq.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for notepadqq -# Copyright 2018 Antonio Leal, Porto Salvo, Oeiras, Portugal +# Copyright 2022 Antonio Leal, Porto Salvo, Oeiras, Portugal # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=notepadqq -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -66,7 +63,6 @@ else fi set -e - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -83,23 +79,15 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix /opt/notepadqq \ + --prefix /usr \ --qmake /usr/lib$LIBDIRSUFFIX/qt5/bin/qmake make make install DESTDIR=$PKG INSTALL_ROOT=$PKG -# Allow the binary to be found somewhere in $PATH -mkdir -p $PKG/usr/bin -ln -s /opt/notepadqq/bin/$PRGNAM $PKG/usr/bin/$PRGNAM - 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 -mkdir -p $PKG/usr/share -mv $PKG/opt/notepadqq/share/icons/ $PKG/usr/share/ -mv $PKG/opt/notepadqq/share/applications/ $PKG/usr/share/ - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CONTRIBUTING.md COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/development/notepadqq/notepadqq.info b/development/notepadqq/notepadqq.info index 46c500ad52d56..c0da3cbc7b7d4 100644 --- a/development/notepadqq/notepadqq.info +++ b/development/notepadqq/notepadqq.info @@ -1,8 +1,8 @@ PRGNAM="notepadqq" -VERSION="1.2.0" -HOMEPAGE="http://notepadqq.altervista.org" -DOWNLOAD="https://github.com/notepadqq/notepadqq/archive/v1.2.0/notepadqq-1.2.0.tar.gz" -MD5SUM="8114b25ae89c75037da8f65676443f23" +VERSION="1.4.0" +HOMEPAGE="http://https://notepadqq.com" +DOWNLOAD="https://github.com/notepadqq/notepadqq/archive/v1.4.0/notepadqq-1.4.0.tar.gz" +MD5SUM="67e1ec78abb43ab29d8650c4eef0356b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |