# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=fotoxx pkgver=12.07.1 pkgrel=0 pkgdesc="Photo editing and collection management" url="http://kornelix.squarespace.com/fotoxx" arch="all" license="GPL-3" depends="xdg-utils exiftool" makedepends="gtk+3.0-dev tiff-dev" install= subpackages="$pkgname-doc" source="http://kornelix.squarespace.com/storage/downloads/fotoxx-$pkgver.tar.gz no-xdg-desktop-menu.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" make PREFIX=/usr LDFLAGS="$LFDLAGS" CXXFLAGS="$CFLAGS" || return 1 } package() { cd "$_builddir" make PREFIX=/usr DESTDIR="$pkgdir" install } md5sums="56022f26a3db1fdc62024027fe73901e fotoxx-12.07.1.tar.gz 8c988a8ced48cfe3a5a49be4a705b045 no-xdg-desktop-menu.patch"