From 41e4b9a4dc8560f2260e92c2d919c75cdb9698ce Mon Sep 17 00:00:00 2001 From: "Barry J. Grundy" Date: Thu, 1 Apr 2021 23:32:32 +0200 Subject: misc/wkhtmltopdf: Updated for version 0.12.6. Signed-off-by: Matteo Bernardini --- misc/wkhtmltopdf/wkhtmltopdf.SlackBuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'misc/wkhtmltopdf/wkhtmltopdf.SlackBuild') diff --git a/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild b/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild index 03e9da72dcd43..a38295a6b7edf 100644 --- a/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild +++ b/misc/wkhtmltopdf/wkhtmltopdf.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=wkhtmltopdf -VERSION=${VERSION:-0.12.3.2} +VERSION=${VERSION:-0.12.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -71,7 +71,7 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -qmake +qmake-qt5 make make install INSTALL_ROOT=$PKG/usr @@ -88,7 +88,7 @@ mv $PKG/usr/share/man/* $PKG/usr/man/ rm -rf $PKG/usr/share/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGELOG* LICENSE INSTALL.md README.md VERSION $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG* LICENSE README.md VERSION $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3