aboutsummaryrefslogtreecommitdiffstats
path: root/community/wkhtmltopdf/APKBUILD
blob: 2795731d5b88ad94218e7ca30df3e7b9d2046c4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wkhtmltopdf
pkgver=0.12.5
pkgrel=1
pkgdesc="Simple shell utility to convert html to pdf"
url="https://wkhtmltopdf.org/"
arch="all"
license="LGPL-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

build() {
	qmake-qt5 -makefile && make
}

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

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