# Maintainer: Luis Henrique # Mandatory pkgname=fbida pkgver=2.07 pkgrel=1lm source=("http://dl.bytesex.org/releases/fbida/fbida-2.07.tar.gz" "read-png.c.diff") # Optional docs=("COPYING" "Changes" "INSTALL" "README" "TODO") url="http://linux.bytesex.org/fbida" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "fbida (image viewer)" "The fbida project contains a few applications for viewing and" "editing images, with the main focus being photos." ) build() { cd $startdir/src/$pkgname-$pkgver # "Patch" GNUmakefile and mk/Autoconf.mk for i in GNUmakefile mk/Autoconf.mk; do sed -i s,/X11R6,, $i || exit 1 done # Fix rd/read-png.c (obsolete libpng declaration) patch -p0 < $startdir/src/read-png.c.diff make HAVE_MOTIF=no || return 1 prefix=/usr make install DESTDIR=$startdir/pkg HAVE_MOTIF=no }