void-packages/srcpkgs/libkomparediff2/template
2019-06-08 12:48:33 +02:00

27 lines
813 B
Bash

# Template file for 'libkomparediff2'
pkgname=libkomparediff2
version=19.04.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules kcoreaddons"
makedepends="kparts-devel"
short_desc="Library to compare files and strings"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="https://www.kde.org/"
distfiles="${KDE_SITE}/applications/${version}/src/libkomparediff2-${version}.tar.xz"
checksum=2a86d6218f22bc0f89aea0ea7bc782d6e0d77a4d45718b0a50643233742da4f6
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" python qt5-host-tools qt5-qmake"
fi
libkomparediff2-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}