# Description: Headless tool to convert html pages to pdfs
# URL: https://wkhtmltopdf.org
# Maintainer: Aaron Ball, nullspoon at oper dot io
# Depends on: qt5 qtwebkit icu zlib fontconfig freetype xorg-libx11 xorg-libxext xorg-libxrender
name=wkhtmltopdf
version=0.12.5
release=1
source=(https://github.com/${name}/${name}/archive/${version}.tar.gz)
build() {
cd ${name}-${version}
qmake-qt5 wkhtmltopdf.pro
make
make INSTALL_ROOT=${PKG}/usr install
}