32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'kpmcore'
|
|
pkgname=kpmcore
|
|
version=21.12.3
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules python3 qt5-devel qt5-qmake pkg-config kcoreaddons
|
|
gettext kauth"
|
|
makedepends="qt5-devel libatasmart-devel libparted-devel kwidgetsaddons-devel ki18n-devel
|
|
polkit-qt5-devel kauth-devel kcoreaddons-devel qca-qt5-devel"
|
|
depends="parted"
|
|
short_desc="Library for managing partitions"
|
|
maintainer="jambonmcyeah <jambonmcyeah@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://kde.org/applications/system/org.kde.partitionmanager"
|
|
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kpmcore"
|
|
distfiles="${KDE_SITE}/release-service/$version/src/$pkgname-$version.tar.xz"
|
|
checksum=6ad7a6d04a1c28bca9e934a3d7664fcb91069f841a8292208764ff4eca5300a6
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
fi
|
|
|
|
kpmcore-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|