# Template file for 'libkomparediff2'
pkgname=libkomparediff2
version=4.14.3
revision=1
short_desc="Library to compare files and strings"
maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2+"
homepage="http://www.kde.org/"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=bf9a9170d5655685468175a3ce4b393bcd108142b5522186f0e87cedb338a62f
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="kdelibs-devel qt-devel phonon-devel"

libkomparediff2-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
