void-packages/srcpkgs/libkexiv25/template

26 lines
836 B
Bash

# Template file for 'libkexiv25'
pkgname=libkexiv25
version=19.12.1
revision=1
wrksrc="libkexiv2-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules pkg-config qt5-host-tools qt5-qmake"
makedepends="qt5-devel exiv2-devel"
short_desc="Library to manipulate pictures metadata"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2"
distfiles="${KDE_SITE}/release-service/${version}/src/libkexiv2-${version}.tar.xz"
checksum=53b9a4ecda0f76df1a5b9f7b8184b85e847838cf97e4ad3036a6c5bb719993e5
libkexiv25-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}