diff options
author | Matteo Bernardini | 2021-01-17 14:17:19 +0100 |
---|---|---|
committer | Matteo Bernardini | 2021-01-17 14:17:19 +0100 |
commit | 90d86adad9ae7e12b1c7d100f8e39c84ede2f569 (patch) | |
tree | cfc4120f61bc72c8cc42eede89b3d8b27012c3e8 /graphics/nomacs/nomacs.SlackBuild | |
parent | 5dc8921c2c7726bc663f3a57b2b6c4dda1317633 (diff) | |
download | slackbuilds-bb8c7914b34db18d0c5fe75bb515ef1fe81ae656.tar.gz |
20210117.1 global branch merge.current-20210117.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/nomacs/nomacs.SlackBuild')
-rw-r--r-- | graphics/nomacs/nomacs.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild index 8eaa6158ae..423f012b3d 100644 --- a/graphics/nomacs/nomacs.SlackBuild +++ b/graphics/nomacs/nomacs.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for nomacs -# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=nomacs -VERSION=${VERSION:-3.14.2} -PVERSION=${PVERSION:-3.14} +VERSION=${VERSION:-3.17.2206} +PVERSION=${PVERSION:-3.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,8 +55,6 @@ else LIBDIRSUFFIX="" fi -DOCS="Readme/COPYRIGHT Readme/LICENSE* Readme/README" - set -e rm -rf $PKG @@ -66,6 +64,7 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION/ImageLounge tar xvf $CWD/$PRGNAM-plugins-$PVERSION.tar.?z +rm -fR plugins mv $PRGNAM-plugins-$PVERSION plugins cd .. chown -R root:root . @@ -75,6 +74,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +zcat $CWD/nomacs-$VERSION-quazip-1.0.0.patch.gz | patch -p1 || exit 1 + cd ImageLounge # Fix man pages and plugins installation path @@ -90,6 +91,7 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DENABLE_QUAZIP=1 \ -DUSE_SYSTEM_QUAZIP=1 \ + -DENABLE_TRANSLATIONS=1 \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -102,7 +104,7 @@ 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/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a license $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |