summaryrefslogtreecommitdiff
path: root/community/wkhtmltopdf
diff options
context:
space:
mode:
Diffstat (limited to 'community/wkhtmltopdf')
-rw-r--r--community/wkhtmltopdf/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/wkhtmltopdf/PKGBUILD b/community/wkhtmltopdf/PKGBUILD
index bff273d88..8c61fd2c4 100644
--- a/community/wkhtmltopdf/PKGBUILD
+++ b/community/wkhtmltopdf/PKGBUILD
@@ -1,5 +1,5 @@
-# $Id: PKGBUILD 19347 2010-06-22 14:11:07Z foutrelis $
-# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
+# $Id: PKGBUILD 58535 2011-11-13 16:06:48Z andrea $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
pkgname=wkhtmltopdf
pkgver=0.9.9
@@ -17,12 +17,14 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
qmake wkhtmltopdf.pro
- make || return 1
- make INSTALL_ROOT="$pkgdir/usr" install || return 1
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make INSTALL_ROOT="$pkgdir/usr" install
# Generate and install man page
install -d "$pkgdir/usr/share/man/man1"
./wkhtmltopdf --manpage >"$pkgdir/usr/share/man/man1/wkhtmltopdf.1"
}
-
-# vim:set ts=2 sw=2 et: