#Packager: Maximus (maximuus[at]gmail[dot]com) pkgname=LibRaw pkgver=0.13.1 pkgrel=1mb source=(http://www.libraw.org/data/LibRaw-0.13.1.tar.gz) sourcetemplate=http://people.salixos.org/maximus/$pkgname/$pkgver/ docs=("copyright" "changelog") url=http://www.libraw.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "LibRaw (a raw image decoder)" "LibRaw is a library for reading RAW files obtained from digital photo" "cameras (CRW/CR2, NEF, RAF, DNG, and others)." "LibRaw is based on the source codes of the dcraw utility, where part" "of drawbacks have already been eliminated and part will be fixed in" "future. The users of the library are provided with API to be built" "into their software programs." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg #fix docs mkdir -p $startdir/pkg/usr/doc/LibRaw-0.13.1 mv $startdir/pkg/usr/share/doc/libraw/* $startdir/pkg/usr/doc/LibRaw-0.13.1/ rm -rf $startdir/pkg/usr/share }