void-packages/srcpkgs/libkomparediff2/template

25 lines
845 B
Bash

# Template file for 'libkomparediff2'
pkgname=libkomparediff2
version=24.08.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext kcoreaddons qt6-tools qt6-base"
makedepends="kf6-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=a9f57e9f11b34dd9dc148fb85c2fc904f6c8a87dd92e676c387d5b850cd0cc66
libkomparediff2-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}