updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / libexif-gtk / PKGBUILD
blob1a9574dba5471b7307473f2116ccb2ec96991545
1 # Contributor: Eduardo Romero <eduardo@archlinux.org>
2 # Contributor: Sebastien Piccand <sebcactus gmail com>
4 pkgname=libexif-gtk
5 pkgver=0.3.5
6 pkgrel=9
7 pkgdesc="GTK frontend to the libexif library"
8 arch=('i686' 'x86_64')
9 url="http://libexif.sourceforge.net"
10 license=('GPL')
11 depends=('libexif' 'gtk2')
12 options=('!libtool')
13 source=(http://downloads.sourceforge.net/libexif/$pkgname-$pkgver.tar.bz2
14         'gtk2-2.12.patch')
15 md5sums=('0ecdba41f3e0f20a11b8555bd2dd2a07'
16          'f8d53413c6291a0dca5da99016b1bf47')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
20   # Patch for gtk2-2.12
21   patch -p1 -i $srcdir/gtk2-2.12.patch
22   # Patch for libexif
23   sed -i 's|exif-mem.h|libexif/exif-mem.h|g' configure
24   ./configure --prefix=/usr
25   make
28 package() {
29   cd "$srcdir/$pkgname-$pkgver"
30   make DESTDIR="$pkgdir" install