void-packages/srcpkgs/kquickimageeditor/template

27 lines
826 B
Bash

# Template file for 'kquickimageeditor'
pkgname=kquickimageeditor
version=0.1.3
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/${version%.*}/$pkgname-$version.tar.xz"
checksum=5b13f8e53bc7ea960b24064948f3d28bfb39f47529d5fa63a2090a047465c1ea
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
}
}