void-packages/srcpkgs/libkomparediff2/template

25 lines
847 B
Bash

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