void-packages/srcpkgs/kpmcore/template

30 lines
1001 B
Bash
Raw Normal View History

2017-12-28 18:30:30 +01:00
# Template file for 'kpmcore'
pkgname=kpmcore
version=3.3.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules python qt5-devel qt5-qmake pkg-config 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-2"
homepage="http://kde.org/applications/system/kdepartitionmanager/"
distfiles="http://download.kde.org/stable/${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
}
}