mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
3a1d88ddcd
commit
68c2111c28
3 changed files with 10 additions and 13 deletions
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue