void-packages/srcpkgs/libkomparediff2/template

25 lines
847 B
Bash

# Template file for 'libkomparediff2'
pkgname=libkomparediff2
version=22.04.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext kcoreaddons qt5-host-tools qt5-qmake"
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/"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#libkomparediff2"
distfiles="${KDE_SITE}/release-service/${version}/src/libkomparediff2-${version}.tar.xz"
checksum=9c9ff478d4e31cc0b0dc980238956d92f683e6ff55dc1c6b67e3212c7e7e0711
libkomparediff2-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}