void-packages/srcpkgs/kpmcore/template

30 lines
1.1 KiB
Bash

# Template file for 'kpmcore'
pkgname=kpmcore
version=24.02.2
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=29d3909ad5cbbfa1e5bd772c97be4825407ae6e5efeb5a6ddee5b005c99654bf
kpmcore-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}