void-packages/srcpkgs/libkomparediff2/template

25 lines
847 B
Bash

# Template file for 'libkomparediff2'
pkgname=libkomparediff2
version=22.12.1
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=15600ea68e317e546c4763d447f6947fbf2a2c7e7bdc371f9892e7bb5d2c7a99
libkomparediff2-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}