summaryrefslogtreecommitdiff
path: root/user/prison/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-13 18:56:06 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-13 18:56:06 -0500
commitc7dddc80fea3a616f6e1566b241c8e5bff1a24f8 (patch)
tree40b26c8b8f48a80f1be676553964d87dd47a81ec /user/prison/APKBUILD
parent8669f1cd7f152478f46e865e71a5eba77352dc56 (diff)
downloadpackages-c7dddc80fea3a616f6e1566b241c8e5bff1a24f8.tar.gz
packages-c7dddc80fea3a616f6e1566b241c8e5bff1a24f8.tar.bz2
packages-c7dddc80fea3a616f6e1566b241c8e5bff1a24f8.tar.xz
packages-c7dddc80fea3a616f6e1566b241c8e5bff1a24f8.zip
user/prison: bump to 5.47.0, modernise, add -quick
Diffstat (limited to 'user/prison/APKBUILD')
-rw-r--r--user/prison/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/user/prison/APKBUILD b/user/prison/APKBUILD
index 046ba8911..e88c8a373 100644
--- a/user/prison/APKBUILD
+++ b/user/prison/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=prison
-pkgver=5.46.0
+pkgver=5.47.0
pkgrel=0
pkgdesc="Qt Barcode library for programatically creating QR codes"
url="https://www.kde.org/"
@@ -10,11 +10,9 @@ license="MIT"
depends=""
depends_dev="qt5-qtbase-dev libqrencode-dev libdmtx-dev"
makedepends="$depends_dev cmake extra-cmake-modules doxygen graphviz
- qt5-qttools-dev"
-install=""
-subpackages="$pkgname-dev $pkgname-doc"
+ qt5-qtdeclarative-dev qt5-qttools-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-quick"
source="http://download.kde.org/stable/frameworks/${pkgver%.*}/prison-$pkgver.tar.xz"
-builddir="$srcdir/prison-$pkgver"
build() {
cd "$builddir"
@@ -43,4 +41,10 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="5c801993c5f939adf97c0c6ccd7430ccebebbbe1ff1723da1748a215b85a7ddf43bf969f6463f911b361789dd4b0fde1becdaf960a0c39c243a96ac3f5666d42 prison-5.46.0.tar.xz"
+quick() {
+ pkgdesc="$pkgdesc (QML binding)"
+ mkdir -p "$subpkgdir"/usr/lib/qt5/
+ mv "$pkgdir"/usr/lib/qt5/qml "$subpkgdir"/usr/lib/qt5/
+}
+
+sha512sums="5aed65e3a11d37eb5bbbcefa18f7843379b39d08ba6ca8252ae6f86fd28066c0cec092ee8680fd055574f1e9c1fd6e37234c5e2916f8909169620e72987ae499 prison-5.47.0.tar.xz"