From ca5b5a7f2fd75ea5d923cd5b887008da3b2437c1 Mon Sep 17 00:00:00 2001 From: Antonio Leal Date: Fri, 10 Jun 2022 00:37:30 +0100 Subject: development/notepadqq: Updated for version 1.4.0. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- development/notepadqq/notepadqq.SlackBuild | 18 +++--------------- development/notepadqq/notepadqq.info | 8 ++++---- 2 files changed, 7 insertions(+), 19 deletions(-) (limited to 'development/notepadqq') 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="" -- cgit v1.2.3