From c7dddc80fea3a616f6e1566b241c8e5bff1a24f8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 13 Jul 2018 18:56:06 -0500 Subject: user/prison: bump to 5.47.0, modernise, add -quick --- user/prison/APKBUILD | 16 ++++++++++------ 1 file 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 # Maintainer: A. Wilcox 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" -- cgit v1.2.3-70-g09d2