void-packages/srcpkgs/kcoreaddons/template
2016-11-01 19:11:15 +01:00

26 lines
893 B
Bash

# Template file for 'kcoreaddons'
pkgname=kcoreaddons
version=5.26.0
revision=2
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="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kcoreaddons"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=1fab3ca827cf74f0fdadd30d8b9b3fe53d4ba2d1afe7f23a90f3ff55f3c77982
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
}
}