updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gexif / PKGBUILD
blob03872ea012de49dd72c8a8909d21e51392b6846b
1 # Contributor: Johan "Slikkie" van der Slikke <johan@slikkie.nl>
2 pkgname=gexif
3 pkgver=0.5
4 pkgrel=2
5 pkgdesc="A GTK+ based GUI interface to libexif-gtk"
6 url="http://libexif.sourceforge.net/"
7 license="GPL"
8 depends=('libexif-gtk')
9 makedepends=('libtool' 'pkgconfig' 'libexif-gtk')
10 conflicts=()
11 replaces=()
12 backup=()
13 install=()
14 source=("http://downloads.sourceforge.net/project/libexif/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz" "gtk2-fix.patch"    "gexif.desktop")
15 md5sums=("ad136a03e3e1a8d6d98211d94014df0c" "164f4d3d564c22b4e7ab401940236ca9" "6ce94402bf1799d3982fb879ae6bd3a9")
16 arch=('i686' 'x86_64')
18 build() {
19   cd $startdir/src/$pkgname-$pkgver
20   patch -p1 < $startdir/gtk2-fix.patch || return 1
21   ./configure --prefix=/usr
22   make || return 1
23   make DESTDIR=$startdir/pkg install
24   mkdir -p $startdir/pkg/usr/share/applications
25   cp $startdir/gexif.desktop $startdir/pkg/usr/share/applications