# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=fotoxx pkgver=10.11.2 pkgrel=0 pkgdesc="Photo editing and collection management" url="http://kornelix.squarespace.com/fotoxx" arch="all" license="GPL-3" depends="xdg-utils" makedepends="gtk+-dev tiff-dev" install= subpackages="$pkgname-doc" source="http://kornelix.squarespace.com/storage/downloads/fotoxx-$pkgver.tar.gz no-execinfo.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 sed -e 's:/bin/bash:/bin/sh:' -i dependencies.sh } build() { cd "$_builddir" make PREFIX=/usr LDFLAGS="$LFDLAGS" CXXFLAGS="$CFLAGS" || return 1 } package() { cd "$_builddir" make PREFIX=/usr DESTDIR="$pkgdir" install } md5sums="644d7a6675272ce47785de61ba22890c fotoxx-10.11.2.tar.gz 2651f3e1a422f5dbfe2d09eb789af783 no-execinfo.patch"