void-packages/srcpkgs/libgexiv2/template

26 lines
797 B
Plaintext

# Template file for 'libgexiv2'
pkgname=libgexiv2
version=0.10.2
revision=1
wrksrc="${pkgname/lib/}-${version}"
build_style=gnu-configure
hostmakedepends="libtool>=2.4.2_7 pkg-config"
makedepends="libglib-devel exiv2-devel"
short_desc="GObject-based wrapper around the Exiv2 library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://wiki.gnome.org/Projects/gexiv2"
distfiles="${GNOME_SITE}/gexiv2/${version%.*}/${pkgname/lib/}-${version}.tar.xz"
checksum=2fd21f0ed5125e51d02226e7f41be751cfa8ae411a8ed1a651e16b06d79047b2
libgexiv2-devel_package() {
depends="libglib-devel exiv2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/vala
}
}