26 lines
775 B
Bash
26 lines
775 B
Bash
# Template file for 'exiv2'
|
|
pkgname=exiv2
|
|
version=0.27.4
|
|
revision=1
|
|
wrksrc="exiv2-${version}-Source"
|
|
build_style=cmake
|
|
configure_args="-DEXIV2_BUILD_SAMPLES=OFF -DEXIV2_ENABLE_BMFF=ON"
|
|
makedepends="zlib-devel expat-devel"
|
|
short_desc="Image metadata manipulation"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.exiv2.org"
|
|
distfiles="https://www.exiv2.org/builds/exiv2-${version}-Source.tar.gz"
|
|
checksum=84366dba7c162af9a7603bcd6c16f40fe0e9af294ba2fd2f66ffffb9fbec904e
|
|
|
|
exiv2-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|