# Maintainer: Stefan Husmann pkgname=fotoxx pkgver=8.5.2 pkgrel=1 pkgdesc="A program for improving image files made with a digital camera" url="http://kornelix.squarespace.com/fotoxx" arch=('i686' 'x86_64') license=('GPL2') depends=('gtk2' 'freeimage-legacy' 'gimp-ufraw' 'perl-exiftool') optdepends=('printoxx: for printing from within fotoxx (only in AUR)' \ 'brasero: for burning') source=(Makefile "http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz") md5sums=('842ef20ccdf61b8172a1d05f2e6bfe48' 'c88196c3a738bca1159ee68e2f325d95') replaces=('fotox') build() { cd $srcdir/$pkgname-$pkgver cp $srcdir/Makefile . PREFIX=/usr make || return 1 } package() { cd $srcdir/$pkgname-$pkgver install -d $pkgdir/usr/share/{applications,man/man1} || return 1 make DESTDIR=$pkgdir PREFIX=/usr install || return 1 }