# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=gexiv2 pkgver=0.10.0 pkgrel=2 pkgdesc="a GObject-based wrapper around the Exiv2 library" url="http://trac.yorba.org/wiki/gexiv://wiki.gnome.org/gexiv2" arch="all" license="GPL" depends= depends_dev="glib-dev exiv2-dev" makedepends="exiv2-dev glib-dev libtool m4 sed gobject-introspection-dev" install= subpackages="$pkgname-dev" source="http://ftp.gnome.org/pub/gnome/sources/gexiv2/${pkgver%.*}/gexiv2-$pkgver.tar.xz" replaces="libgexiv2" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-introspection \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="d5e33e2e6d034df900879a167513325f gexiv2-0.10.0.tar.xz" sha256sums="9c8c97b36a0d4ca6656488b88908e4c94efb0dfc1b0e3e0850e38b90a9a30031 gexiv2-0.10.0.tar.xz" sha512sums="f83c86fff761b93cca0e5477dd62f3a64efdd4d38839dfccacb3e422eb59f16b349e443f5bcbea23f9907f7b0adde7b749287d67cf73f67cdafacdf68c91b904 gexiv2-0.10.0.tar.xz"