summaryrefslogtreecommitdiff
path: root/user/grantlee
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 21:50:46 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 21:50:46 -0500
commit7669a8d5e0a610c67e08a02d872e7411070fc792 (patch)
tree124f99531aee57c7640a3058de8900f3c931e406 /user/grantlee
parent48c5660f168871c4ec9c4f86b81e32ebaf9a617f (diff)
downloadpackages-7669a8d5e0a610c67e08a02d872e7411070fc792.tar.gz
packages-7669a8d5e0a610c67e08a02d872e7411070fc792.tar.bz2
packages-7669a8d5e0a610c67e08a02d872e7411070fc792.tar.xz
packages-7669a8d5e0a610c67e08a02d872e7411070fc792.zip
user/grantlee: modernise, add Qt Script dependency
Diffstat (limited to 'user/grantlee')
-rw-r--r--user/grantlee/APKBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/user/grantlee/APKBUILD b/user/grantlee/APKBUILD
index dd0e22a54..ddf639728 100644
--- a/user/grantlee/APKBUILD
+++ b/user/grantlee/APKBUILD
@@ -2,18 +2,16 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=grantlee
pkgver=5.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="Libraries for text templating with Qt"
url="https://github.com/steveire/grantlee/"
arch="all"
-license="LGPL-2.1"
+license="LGPL-2.1+"
depends=""
depends_dev="qt5-qtbase-dev"
-makedepends="cmake $depends_dev doxygen graphviz"
-install=""
+makedepends="cmake $depends_dev qt5-qtscript-dev doxygen graphviz"
subpackages="$pkgname-dev $pkgname-doc"
source="grantlee-$pkgver.tar.gz::https://github.com/steveire/grantlee/archive/v$pkgver.tar.gz"
-builddir="$srcdir/grantlee-$pkgver"
build() {
cd "$builddir"
@@ -38,13 +36,9 @@ check() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
-}
-doc() {
- pkgdesc="$pkgdesc (documentation)"
- install_if="docs $pkgname=$pkgver-r$pkgrel"
- mkdir -p "$subpkgdir"/usr/share/doc/grantlee
- mv "$builddir"/apidox "$subpkgdir"/usr/share/doc/grantlee/
+ mkdir -p "$pkgdir"/usr/share/doc/grantlee
+ mv "$builddir"/apidox "$pkgdir"/usr/share/doc/grantlee/
}
sha512sums="8a4906979f160abf21481d364f0318789c8b5340c62bff06cc62e6714dbf2c52cbfe577a24490052ac25d94f4cc59e11764204236bc7532bd7f1fd5188baa41a grantlee-5.1.0.tar.gz"