30 lines
975 B
Bash
30 lines
975 B
Bash
# Template file for 'kpackage'
|
|
pkgname=kpackage
|
|
version=5.115.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules gettext
|
|
qt5-host-tools qt5-qmake python3 kdoctools"
|
|
makedepends="karchive-devel kconfig-devel kcoreaddons-devel ki18n-devel kdoctools-devel"
|
|
short_desc="KDE Installation and loading of additional content as packages"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kpackage"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=7e80873fec64e81161d6b1e865cffc15bcbeb8c402c0459b468f7498a7427c7d
|
|
|
|
post_install() {
|
|
vsed -e 's;[$]{_IMPORT_PREFIX};/usr;g' \
|
|
-i ${DESTDIR}/usr/lib/cmake/KF5Package/KF5PackageToolsTargets-*.cmake
|
|
}
|
|
|
|
kpackage-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|