void-packages/srcpkgs/kquickimageeditor/template

27 lines
823 B
Bash

# Template file for 'kquickimageeditor'
pkgname=kquickimageeditor
version=0.2.0
revision=1
build_style=cmake
hostmakedepends="cmake extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel"
short_desc="QML image editing components"
maintainer="Justin Jagieniak <justin@jagieniak.net>"
license="LGPL-2.1-or-later, BSD-2-Clause, CC0-1.0"
homepage="https://invent.kde.org/libraries/kquickimageeditor"
distfiles="${KDE_SITE}/kquickimageeditor/kquickimageeditor-${version}.tar.xz"
checksum=3cfba775498e031f6963669ee0e4426d4fddd48a244b9583620de4d312ba92ca
post_install() {
vlicense LICENSES/BSD-2-Clause.txt
}
kquickimageeditor-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
}
}