diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-12-10 13:52:17 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:45:02 -0500 |
commit | 9db70c05b83ebcaa2a4befef53889ffb44eb004d (patch) | |
tree | 7f610ecf58096681fd03cdacf7ca8e454c3c5964 /graphics/nomacs/nomacs.SlackBuild | |
parent | 7c250eeb05fb011b78c024af9316c7fae58eb83f (diff) | |
download | slackbuilds-9db70c05b83ebcaa2a4befef53889ffb44eb004d.tar.gz |
graphics/nomacs: Updated for version 3.17.2206.
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 |