diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-22 00:52:25 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-28 17:14:49 +0000 |
commit | 8464247c93ef20601720d03df453f269b83a8c43 (patch) | |
tree | e86e11a2cc0145d9114473358fdf486a3f840fe9 /testing/prison/APKBUILD | |
parent | 9dd743f230bf8accfccce91dec508119411830e7 (diff) | |
download | aports-8464247c93ef20601720d03df453f269b83a8c43.tar.bz2 aports-8464247c93ef20601720d03df453f269b83a8c43.tar.xz |
testing/prison: new aport
Closes GH-7992
Diffstat (limited to 'testing/prison/APKBUILD')
-rw-r--r-- | testing/prison/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/prison/APKBUILD b/testing/prison/APKBUILD new file mode 100644 index 0000000000..1442cf043e --- /dev/null +++ b/testing/prison/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=prison +pkgver=5.58.0 +pkgrel=0 +pkgdesc="A barcode API to produce QRCode barcodes and DataMatrix barcodes" +arch="all" +url="https://community.kde.org/Frameworks" +license="MIT" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev" +makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev libqrencode-dev" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="868ba1784043f1b77592f71810e37623309581f14a4d0348e8b673f466c258993d59dc1cd5920f30439083c48dc2f4e2cdb35c296eb9c7d9f7935a0ba6c9a9ab prison-5.58.0.tar.xz" |