# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=prison pkgver=5.69.0 pkgrel=0 pkgdesc="A barcode API to produce QRCode barcodes and DataMatrix barcodes" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://community.kde.org/Frameworks" license="MIT" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev libdmtx-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev libqrencode-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/prison-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="d5e2a77869b7b1d4825dc43cf560f2307c71810557d246db42e05289c2933d9691ca22bca97ad2b3e55c134cfadc4e73baa76b4a1d4b23b2c2320b81ae479b1e prison-5.69.0.tar.xz"