void-packages/srcpkgs/kitemviews/template

30 lines
918 B
Bash
Raw Normal View History

2016-10-09 08:38:39 +02:00
# Template file for 'kitemviews'
pkgname=kitemviews
2016-12-06 06:56:48 +01:00
version=5.29.0
2017-01-28 03:04:08 +01:00
revision=2
2016-10-09 08:38:39 +02:00
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
makedepends="qt5-devel qt5-tools-devel"
short_desc="Set of item views extending the Qt model-view framework"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kitemviews"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
2016-12-06 06:56:48 +01:00
checksum=70dffefe04badc6e0ed7c2bc8009cc6a987c6c511d6e700c60efa688adcfe2a0
2016-10-09 08:38:39 +02:00
2017-01-28 03:04:08 +01:00
if [ -n "$CROSS_BUILD$" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools qt5-tools-devel"
fi
2016-10-09 08:38:39 +02:00
kitemviews-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
}
}