[arch-general] wkhtmltopdf
richard terry
rterry at pacific.net.au
Sat Feb 6 06:58:30 EST 2010
Hi List/Evangelos:
This is a really useful utility, I'd like to use it to join documents.
It dosn't seem to be built against a 'patched version' of qt whatever that may
mean.:
"This version of wkhtmltopdf is build against an unpatched version of QT, and
does not support more then one input document."
I see that there is a PKGBUILD, and wondered if anyone knew how to get a
'patched version' of QT to build it against to get more functionality.
# $Id: PKGBUILD 9613 2010-01-27 18:28:19Z foutrelis $
# Maintainer: Evangelos Foutras <foutrelis at gmail.com>
pkgname=wkhtmltopdf
pkgver=0.9.1
pkgrel=2
pkgdesc="Simple shell utility to convert html to pdf using the webkit
rendering engine, and qt"
arch=('i686' 'x86_64')
url="http://code.google.com/p/wkhtmltopdf/"
license=('GPL3')
depends=('qt')
optdepends=('xorg-server: wkhtmltopdf needs X or Xvfb to operate')
source=(http://wkhtmltopdf.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
md5sums=('e597b0593081177741b13543f22fd791')
build() {
cd "$srcdir/$pkgname-$pkgver"
qmake wkhtmltopdf.pro
make || return 1
make INSTALL_ROOT="$pkgdir/usr" install || return 1
# Generate and install man page
install -d "$pkgdir/usr/share/man/man1"
./wkhtmltopdf --manpage >"$pkgdir/usr/share/man/man1/wkhtmltopdf.1"
}
Regards
Richard
More information about the arch-general
mailing list