[arch-commits] Commit in wkhtmltopdf/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Apr 20 23:01:10 UTC 2017


    Date: Thursday, April 20, 2017 @ 23:01:09
  Author: foutrelis
Revision: 224030

upgpkg: wkhtmltopdf 0.12.4-1

New upstream release.

Modified:
  wkhtmltopdf/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-20 22:50:29 UTC (rev 224029)
+++ PKGBUILD	2017-04-20 23:01:09 UTC (rev 224030)
@@ -2,19 +2,27 @@
 # Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
 
 pkgname=wkhtmltopdf
-pkgver=0.12.3
-pkgrel=2
+pkgver=0.12.4
+pkgrel=1
 pkgdesc="Command line tools to render HTML into PDF and various image formats"
 arch=('i686' 'x86_64')
-url="http://wkhtmltopdf.org/"
+url="https://wkhtmltopdf.org/"
 license=('LGPL3')
 depends=('qt5-webkit' 'qt5-svg')
+makedepends=('git')
 optdepends=('xorg-server: wkhtmltopdf needs X or Xvfb to operate')
-source=($pkgname-$pkgver.tar.gz::https://github.com/wkhtmltopdf/wkhtmltopdf/archive/$pkgver.tar.gz)
-sha256sums=('0d55ad5d0582a8a62f3f108c41be071c9762ee970bdc6ed47a22067350e9d2ed')
+source=("git+https://github.com/wkhtmltopdf/wkhtmltopdf.git#tag=$pkgver")
+sha256sums=('SKIP')
 
+prepare() {
+  cd $pkgname
+
+  # fix build without patched Qt
+  git cherry-pick -n af95531eabb212ae16a9fb689bb25a767eb580bc
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname
 
   qmake-qt5 wkhtmltopdf.pro
   make
@@ -21,7 +29,7 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname
   make INSTALL_ROOT="$pkgdir/usr" install
 
   # Generate and install man page



More information about the arch-commits mailing list