29 lines
1,001 B
Bash
29 lines
1,001 B
Bash
# 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
|
|
}
|
|
}
|