28 lines
965 B
Bash
28 lines
965 B
Bash
# Template file for 'kf6-kpackage'
|
|
pkgname=kf6-kpackage
|
|
version=6.1.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=ed75912b416580a4f9acdbedee31e590b197e157cda1dea13ad28751116b52af
|
|
|
|
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"
|
|
}
|
|
}
|