28 lines
796 B
Bash
28 lines
796 B
Bash
# Template file for 'libkomparediff2'
|
|
pkgname=libkomparediff2
|
|
version=18.08.1
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules"
|
|
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/"
|
|
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=41777a633311ce8a587ea65a0d0d397dd75a0e682933325df12086d1581f9c84
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" python qt5-host-tools qt5-qmake"
|
|
fi
|
|
|
|
libkomparediff2-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|