e2e40de2db
[ci skip]
33 lines
890 B
Bash
33 lines
890 B
Bash
# Template file for 'prison'
|
|
pkgname=prison
|
|
version=5.66.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-tools"
|
|
makedepends="qt5-devel libdmtx-devel qrencode-devel ecm-devel"
|
|
short_desc="Barcode API to produce QRCode barcodes and DataMatrix barcodes"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="MIT"
|
|
homepage="https://community.kde.org/Frameworks"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/prison-${version}.tar.xz"
|
|
checksum=ff5b4ae32ae44f2aea4b9254afe54af0fc9ea742517116cd2322e1a71a7315ce
|
|
|
|
if [ "$CROSS_BUILD" ];then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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"
|
|
}
|
|
|
|
}
|