--- PKGBUILD.orig 2019-04-10 15:04:59.000000000 +0200 +++ PKGBUILD 2019-04-10 15:21:02.764531222 +0200 @@ -4,13 +4,13 @@ pkgname=grantlee pkgver=5.1.0 -pkgrel=3 +pkgrel=4 pkgdesc="A string template engine based on the Django template system and written in Qt5" arch=(x86_64) url="http://www.grantlee.org/" license=(LGPL2.1) depends=('qt5-script') -makedepends=(cmake doxygen) +makedepends=(cmake doxygen graphviz) source=("http://downloads.grantlee.org/grantlee-$pkgver.tar.gz"{,.asc}) sha256sums=('ea2e402466c74bb533eee2c7252209ec61cd93a5d236fecd625b4a0eb13a1478' 'SKIP') @@ -26,9 +26,12 @@ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTS=OFF make + make docs } package() { cd build make DESTDIR="$pkgdir" install + mkdir -p "$pkgdir/usr/share/doc/$pkgname" + cp apidox/* "$pkgdir/usr/share/doc/$pkgname" }