diff options
author | Barry J. Grundy <bgrundyat> | 2021-04-01 23:32:32 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 00:08:59 -0500 |
commit | 41e4b9a4dc8560f2260e92c2d919c75cdb9698ce (patch) | |
tree | a037355312b678fc9b6bc0b112f6a87d478e674e /misc/wkhtmltopdf/wkhtmltopdf.SlackBuild | |
parent | 837046a9beeff7104746bbc0aafbc7baf67443c6 (diff) |
misc/wkhtmltopdf: Updated for version 0.12.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'misc/wkhtmltopdf/wkhtmltopdf.SlackBuild')
-rw-r--r-- | misc/wkhtmltopdf/wkhtmltopdf.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
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 |