38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'prison'
|
|
pkgname=prison
|
|
version=5.109.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-tools doxygen
|
|
qt5-declarative-devel qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel libdmtx-devel qrencode-devel ecm-devel qt5-plugin-sqlite
|
|
zxing-cpp-devel qt5-declarative-devel"
|
|
short_desc="Barcode API to produce QRCode barcodes and DataMatrix barcodes"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="MIT"
|
|
homepage="https://community.kde.org/Frameworks"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/prison-${version}.tar.xz"
|
|
checksum=8109d7daada25735e4aa9c0f0b51640f34386aa51a9d03bb49b84a0359e8bcde
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args="-DBUILD_TESTING=ON"
|
|
else
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSES/BSD-3-Clause.txt
|
|
vlicense LICENSES/MIT.txt
|
|
}
|
|
|
|
prison-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|