aboutsummaryrefslogtreecommitdiffstats
path: root/community/wkhtmltopdf/APKBUILD
blob: ae1a38b9a0eb95e18c10bf36c38c78a1aef7eec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wkhtmltopdf
pkgver=0.12.5
pkgrel=0
pkgdesc="Simple shell utility to convert html to pdf"
url="http://wkhtmltopdf.org/"
arch="all"
license="GPL-3.0-or-later"
makedepends="$depends_dev 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
_builddir="$srcdir"/wkhtmltopdf-$pkgver

build() {
	cd "$_builddir"
	qmake-qt5 -makefile && make
}

package() {
	cd "$_builddir"
	make install INSTALL_ROOT="$pkgdir"/usr
}

sha512sums="3f982a6964085b36f62988b618d88d4339f03ad8d2e733c1fcba5e2e7cb545ccc99313ce35474605df818f91c289a87ddd952f21974fdbe846f990bf03fc2fdb  wkhtmltopdf-0.12.5.tar.gz"