mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
misc/wkhtmltopdf: Updated for version 0.12.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
837046a9be
commit
41e4b9a4dc
2 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="wkhtmltopdf"
|
||||
VERSION="0.12.3.2"
|
||||
VERSION="0.12.6"
|
||||
HOMEPAGE="https://wkhtmltopdf.org/"
|
||||
DOWNLOAD="https://github.com/wkhtmltopdf/wkhtmltopdf/archive/0.12.3.2.tar.gz"
|
||||
MD5SUM="8b443f1c541f3f95651f6e766b3f39a6"
|
||||
DOWNLOAD="https://github.com/wkhtmltopdf/wkhtmltopdf/archive/0.12.6/wkhtmltopdf-0.12.6.tar.gz"
|
||||
MD5SUM="170ce433d1ea62128ca4713b995f8cba"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue