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