#Packager: Maximus (maximuus[at]gmail[dot]com) pkgname=rawstudio pkgver=1.2 pkgrel=1mb source=("http://rawstudio.org/files/release/rawstudio-1.2.tar.gz" "dcraw.cc-ftbfs-fix.patch") sourcetemplate=http://people.salixos.org/maximus/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://rawstudio.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "rawstudio (a program to read and manipulate RAW images)" "Rawstudio is an open-source program to read and manipulate RAW images" "from most digital cameras." "Rawstudio will convert your RAW files into JPEG, PNG or TIF images" "which you can then print or send to friends and clients." "It has a graphical user interface, so you can simply open a RAW file" "and experiment with the controls to see how they affect the image." "Rawstudio has a very simple architecture which is optimized for ease" "of use and therefore should be intuitive to most photographers." ) build() { #patch dcraw.cc cd $startdir/src/$pkgname-$pkgver/src patch < $startdir/src/dcraw.cc-ftbfs-fix.patch || exit 1 cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg #fix icon location mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps mv $startdir/pkg/usr/share/icons/rawstudio.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ }