void-packages/srcpkgs/ksolid/template
2016-09-25 11:00:00 +02:00

27 lines
902 B
Bash

# Template file for 'ksolid'
pkgname=ksolid
version=5.26.0
revision=1
wrksrc="${pkgname#k}-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="pkg-config flex extra-cmake-modules"
makedepends="qt5-tools-devel qt5-declarative-devel"
depends="upower0 udisks2 media-player-info"
short_desc="KDE frameworks - Hardware integration and detection"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="https://projects.kde.org/projects/frameworks/solid"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname#k}-${version}.tar.xz"
checksum=43822796f7d2cfd7596f94fa54f6ced2e8d58668f728a3c568f5388f5bb294b6
ksolid-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove usr/lib/*.so
}
}