void-packages/srcpkgs/kcoreaddons/template
2019-01-13 02:55:21 +00:00

26 lines
894 B
Bash

# Template file for 'kcoreaddons'
pkgname=kcoreaddons
version=5.54.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel"
depends="shared-mime-info"
short_desc="Qt5 addon library with a collection of non-GUI utilities"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kcoreaddons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e9e8d033b912345d2b5eca7d1cddc4e3b3ce758539f6378fb248222d0d3a47d8
kcoreaddons-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}