void-packages/srcpkgs/kpmcore/template

30 lines
1.1 KiB
Bash

# Template file for 'kpmcore'
pkgname=kpmcore
version=24.08.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base-devel qt6-base pkg-config kf6-kcoreaddons
gettext kf6-kauth-tools"
makedepends="qt6-base-devel libatasmart-devel libparted-devel kf6-kwidgetsaddons-devel kf6-ki18n-devel
polkit-qt6-devel kauth-devel kf6-kcoreaddons-devel"
depends="parted"
short_desc="Library for managing partitions"
maintainer="jambonmcyeah <jambonmcyeah@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://apps.kde.org/partitionmanager"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kpmcore"
distfiles="${KDE_SITE}/release-service/${version}/src/kpmcore-${version}.tar.xz"
checksum=ac25fe28297ba2a328afaa03c0e5d817ade3714d7793a90a204f9b694b090d67
kpmcore-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}