aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/img2pdf/img2pdf.SlackBuild12
-rw-r--r--graphics/img2pdf/img2pdf.info6
2 files changed, 7 insertions, 11 deletions
diff --git a/graphics/img2pdf/img2pdf.SlackBuild b/graphics/img2pdf/img2pdf.SlackBuild
index 015dd7a2e4..af21dba1af 100644
--- a/graphics/img2pdf/img2pdf.SlackBuild
+++ b/graphics/img2pdf/img2pdf.SlackBuild
@@ -25,10 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=img2pdf
-VERSION=${VERSION:-0.6.0}
+VERSION=${VERSION:-0.5.1}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -37,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
@@ -47,7 +45,7 @@ fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -64,8 +62,6 @@ 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 {} \;
-sed -i "s/self.qmake_bin = 'qmake'/self.qmake_bin = 'qmake-qt5'/" setup.py
-
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/graphics/img2pdf/img2pdf.info b/graphics/img2pdf/img2pdf.info
index ca24a11573..bca6aa5819 100644
--- a/graphics/img2pdf/img2pdf.info
+++ b/graphics/img2pdf/img2pdf.info
@@ -1,8 +1,8 @@
PRGNAM="img2pdf"
-VERSION="0.6.0"
+VERSION="0.5.1"
HOMEPAGE="https://gitlab.mister-muffin.de/josch/img2pdf"
-DOWNLOAD="https://files.pythonhosted.org/packages/c2/62/c7402ffe11d43e88dbab6b7255f16743f8b9cbb3e7d3405f95a677a98c47/img2pdf-0.6.0.tar.gz"
-MD5SUM="56050d007c6b1e476318b957801a2f72"
+DOWNLOAD="https://files.pythonhosted.org/packages/36/92/6ac4d61951ba507b499f674c90dfa7b48fa776b56f6f068507f8751c03f1/img2pdf-0.5.1.tar.gz"
+MD5SUM="ff4820e35b5eeaefb9c588f48d95cf2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""