# Maintainer: Eduardo Romero # Contributor: Sebastien Piccand pkgname=libexif-gtk pkgver=0.3.5 pkgrel=8 pkgdesc="GTK frontend to the libexif library" arch=('i686') url="http://libexif.sourceforge.net" license=('GPL') depends=('libexif' 'gtk2') options=('!libtool') source=(http://downloads.sourceforge.net/libexif/$pkgname-$pkgver.tar.bz2 gtk2-fix.patch) md5sums=('0ecdba41f3e0f20a11b8555bd2dd2a07' '5ecf915e5b9cfd0a75757d3a046b63fa') build() { cd $startdir/src/$pkgname-$pkgver # Patch for gtk2-2.12 patch -p1 < ../gtk2-fix.patch || return 1 # Patch for libexif sed -i 's|exif-mem.h|libexif/exif-mem.h|g' configure ./configure --prefix=/usr make || return 1 make DESTDIR=$startdir/pkg install || return 1 }