aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/wkhtmltopdf/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/wkhtmltopdf/APKBUILD')
-rw-r--r--unmaintained/wkhtmltopdf/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/unmaintained/wkhtmltopdf/APKBUILD b/unmaintained/wkhtmltopdf/APKBUILD
new file mode 100644
index 0000000000..574edb1568
--- /dev/null
+++ b/unmaintained/wkhtmltopdf/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=wkhtmltopdf
+pkgver=0.12.6
+pkgrel=0
+pkgdesc="Simple shell utility to convert html to pdf"
+url="https://wkhtmltopdf.org/"
+# armhf, mips64 and riscv64 blocked by qt5-qtwebkit
+arch="all !armhf !mips64 !riscv64"
+license="LGPL-3.0-or-later"
+makedepends="qt5-qtbase-dev qt5-qtwebkit-dev qt5-qtsvg-dev
+ qt5-qtxmlpatterns-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/wkhtmltopdf/wkhtmltopdf/archive/$pkgver.tar.gz"
+options="!check" # no test suite
+
+build() {
+ qmake-qt5 -makefile && make
+}
+
+package() {
+ make install INSTALL_ROOT="$pkgdir"/usr
+}
+
+sha512sums="616f51a9094ae91339ca9b6228ee15a67e4092117d087124e2966d3aa53d1caa27f729a40df4e1f2c95149bea86c9b6f184ce9930f9025728d2cdfe6c94a2fbb wkhtmltopdf-0.12.6.tar.gz"