aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2022-08-26 01:15:36 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-27 22:50:32 +0700
commit68c2111c284b29db61fdbbce9c387a269e3c4e7c (patch)
tree5f6116805f6ac94fb78fb97b35312c697b23ce72
parent3a1d88ddcdba400371f3ba014ca249766a5029f3 (diff)
graphics/scantailor-advanced: Updated for version 1.0.18.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.SlackBuild13
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.info8
-rw-r--r--graphics/scantailor-advanced/slack-desc2
3 files changed, 10 insertions, 13 deletions
diff --git a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
index 42809cd223e7f..6adf4bf352135 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
+++ b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for scantailor-advanced
-# Copyright 2019, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2019-2022, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scantailor-advanced
-VERSION=${VERSION:-20200531_3d1e74e}
+VERSION=${VERSION:-1.0.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,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
@@ -70,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -83,11 +80,11 @@ mkdir -p build
cd build
cmake -G "Unix Makefiles" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/graphics/scantailor-advanced/scantailor-advanced.info b/graphics/scantailor-advanced/scantailor-advanced.info
index 0358965e80115..e8300600d072a 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.info
+++ b/graphics/scantailor-advanced/scantailor-advanced.info
@@ -1,8 +1,8 @@
PRGNAM="scantailor-advanced"
-VERSION="20200531_3d1e74e"
-HOMEPAGE="https://github.com/4lex4/scantailor-advanced"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/scantailor-advanced-20200531_3d1e74e.tar.xz"
-MD5SUM="61dfa53ca5f607aa03f4809a796cef08"
+VERSION="1.0.18"
+HOMEPAGE="https://github.com/vigri/scantailor-advanced"
+DOWNLOAD="https://github.com/vigri/scantailor-advanced/archive/v1.0.18/scantailor-advanced-1.0.18.tar.gz"
+MD5SUM="b329669d87b56da73385c92d765bd167"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/scantailor-advanced/slack-desc b/graphics/scantailor-advanced/slack-desc
index 6e56222d78434..8264f39bc3d70 100644
--- a/graphics/scantailor-advanced/slack-desc
+++ b/graphics/scantailor-advanced/slack-desc
@@ -13,7 +13,7 @@ scantailor-advanced:
scantailor-advanced:
scantailor-advanced:
scantailor-advanced:
-scantailor-advanced: Homepage: https://github.com/4lex4/scantailor-advanced
+scantailor-advanced: Homepage: https://github.com/vigri/scantailor-advanced
scantailor-advanced:
scantailor-advanced:
scantailor-advanced: