void-packages/srcpkgs/libkomparediff2/template

25 lines
847 B
Bash

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