void-packages/srcpkgs/kpmcore/template
Jürgen Buchmüller 725204510b kpmcore: needs gettext in hostmakedepends
Also fix license and revbump for this reason.
2020-04-13 14:38:18 +02:00

31 lines
1,009 B
Bash

# Template file for 'kpmcore'
pkgname=kpmcore
version=3.3.0
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext python pkg-config
qt5-devel qt5-qmake kcoreaddons"
makedepends="qt5-devel libatasmart-devel libparted-devel
kwidgetsaddons-devel ki18n-devel kcoreaddons-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/"
distfiles="${KDE_SITE}/${pkgname}/${version}/src/${pkgname}-${version}.tar.xz"
checksum=b8d6fa3c0d89feebf690a424d98ad36acb2438b1099a5b620ee349989d04db68
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
}
}