28 lines
961 B
Bash
28 lines
961 B
Bash
# Template file for 'ksolid'
|
|
pkgname=ksolid
|
|
version=5.15.0
|
|
revision=2
|
|
wrksrc="${pkgname#k}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DBUILD_TESTING=OFF"
|
|
hostmakedepends="cmake qt5-qmake pkg-config extra-cmake-modules"
|
|
makedepends="qt5-tools-devel qt5-declarative-devel upower0-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=ca715a7f23fe6477fce6cfefc3a63655cd7526406b493ac678fb31ecac5f2804
|
|
|
|
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
|
|
}
|
|
}
|