PKGBUILDs/extra/libexif-gtk/PKGBUILD

26 lines
772 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# Maintainer: Eduardo Romero <eduardo@archlinux.org>
# Contributor: Sebastien Piccand <sebcactus gmail com>
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
}