void-packages/srcpkgs/kf6-kpackage/template

28 lines
965 B
Bash

# Template file for 'kf6-kpackage'
pkgname=kf6-kpackage
version=6.6.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext"
makedepends="kf6-karchive-devel kf6-kcoreaddons-devel kf6-ki18n-devel"
short_desc="Aplications to manage user installable packages of non-binary assets"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kpackage"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=12d77241586dc12baa3aa2c65bcebea31604216b91b76d9aaaabf370673e9ed2
kf6-kpackage-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
mkdir -p "${DESTDIR}/usr/lib/cmake/KF6Package"
mv ${PKGDESTDIR}/usr/lib/cmake/KF6Package/KF6PackageTools* \
"${DESTDIR}/usr/lib/cmake/KF6Package"
vmove "usr/lib/*.so"
}
}