# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=gexiv2 pkgver=0.7.0 pkgrel=0 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 rm "$pkgdir"/usr/lib/*.la || return 1 } md5sums="de3619e5d2b621c19fdcf77b17d25d25 gexiv2-0.7.0.tar.xz" sha256sums="b631fe02402014cb52f22647b384972776ada31cbd3c3f187014b6535461ee8a gexiv2-0.7.0.tar.xz" sha512sums="7ce5a90494b421e18ea75e4be8c8f4ddaad053acb8a29ed8a04a0c15b77170d0c4807f9d49b1f80b40f5a25f54221cf785fe907a8a12bf9495e5ab4a00db804e gexiv2-0.7.0.tar.xz"