void-packages/srcpkgs/kf6-kpackage/template

28 lines
965 B
Bash

# Template file for 'kf6-kpackage'
pkgname=kf6-kpackage
version=6.3.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=811d6809e091c1eaaa07cafeacc86eb23fa55ed038f8f1a93d259e5734510b4d
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"
}
}