1 # Maintainer: Eric Coleman <eric@colemando.com>
3 pkgname=wkhtmltoimage-static
6 pkgdesc="Simple shell utility to convert html to image using the webkit rendering engine, and qt (upstream static build) Based off wkhtmltopdf-static by Evangelos Foutras"
8 url="http://code.google.com/p/wkhtmltopdf/"
11 if [ "$CARCH" = "i686" ]; then
13 sha1sums=('6fbe4e7e8a56c5df6111a13d1a17ceacf2ee0fbf')
16 sha1sums=('fc4d7bfaf2cc24695c6f73f472ac240977fd1107')
18 source=(http://wkhtmltopdf.googlecode.com/files/wkhtmltoimage-$pkgver-static-$_arch.tar.bz2)
23 install -D wkhtmltoimage-$_arch "$pkgdir/usr/bin/wkhtmltoimage" || return 1
25 # Generate and install man page
26 install -d "$pkgdir/usr/share/man/man1"
27 ./wkhtmltoimage-$_arch --manpage >"$pkgdir/usr/share/man/man1/wkhtmltoimage.1"
30 # vim:set ts=2 sw=2 et: