28 lines
954 B
Bash
28 lines
954 B
Bash
# Template file for 'ksolid'
|
|
pkgname=ksolid
|
|
version=5.39.0
|
|
revision=1
|
|
wrksrc="${pkgname#k}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="pkg-config flex extra-cmake-modules qt5-host-tools qt5-tools-devel qt5-declarative-devel"
|
|
makedepends="qt5-tools-devel qt5-declarative-devel"
|
|
depends="upower 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=d98c1bc67a8483d42d76d0369bab3255b30420a5bd41bc4730cabbf03e3c74a5
|
|
|
|
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
|
|
}
|
|
}
|