Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 18th, 2010  |  syntax: None  |  size: 0.94 KB  |  views: 91  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. arch=('i686' 'x86_64')
  7. url="http://libexif.sourceforge.net/"
  8. license=('GPL')
  9. depends=('libexif-gtk')
  10. makedepends=('libtool' 'pkgconfig' 'libexif-gtk')
  11. source=("http://downloads.sourceforge.net/project/libexif/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
  12.         "gtk2-fix.patch"
  13.         "gexif.desktop")
  14. md5sums=("ad136a03e3e1a8d6d98211d94014df0c"
  15.          "164f4d3d564c22b4e7ab401940236ca9"
  16.          "6ce94402bf1799d3982fb879ae6bd3a9")
  17.  
  18. build() {
  19.   cd "$srcdir/$pkgname-$pkgver"
  20.   patch -p1 < $startdir/gtk2-fix.patch
  21.   ./configure --prefix=/usr
  22.   make
  23.   make DESTDIR=$startdir/pkg install
  24. }
  25.  
  26. package() {
  27.   cd "$srcdir/$pkgname-$pkgver"
  28.   make DESTDIR="$pkgdir" install
  29.   mkdir -p $startdir/pkg/usr/share/applications
  30.   cp $startdir/gexif.desktop $startdir/pkg/usr/share/applications
  31. }