# Maintainer: Stefan Husmann pkgname=fotoxx pkgver=11.04 pkgrel=4 pkgdesc="A program for improving image files made with a digital camera" url="http://kornelix.squarespace.com/fotoxx" arch=('i686' 'x86_64') license=('GPL3') depends=('gtk2' 'gimp-ufraw' 'perl-exiftool' 'xdg-utils') optdepends=('mashup: for printing from within fotoxx' 'brasero: for burning') source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz") md5sums=('4b90ca45375d7502a98f6ce556a1d9b7') replaces=('fotox') build() { cd $srcdir/$pkgname-$pkgver make PREFIX=/usr \ CFLAGS+="-c `pkg-config --cflags gtk+-2.0`" \ LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`" sed -i 's#/local##' desktop sed -i 's+^# ++' desktop } package() { cd $srcdir/$pkgname-$pkgver install -Dm644 desktop \ $pkgdir/usr/share/applications/$pkgname.desktop make DESTDIR=$pkgdir PREFIX=/usr install }