#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=nautilus-image-converter pkgver=0.3.0 zenver=66 pkgrel=1 arch=i686 source=("http://www.bitron.ch/downloads/nautilus-image-converter-$pkgver.tar.gz" \ "04-german_translation.patch" \ "03-catalan_translation.patch" \ "02-bulgarian_translation.patch" \ "01-fix_gcc_options.patch") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "copying-docs" "copying.lib" "changelog*" "authors" "news" "todo" "hacking" "maintainers" "thanks") url=http://www.bitron.ch/software/nautilus-image-converter.php options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "nautilus-image-converter - Extension to mass resize or rotate images" "Adds a "Resize Images..." menu item to the context menu of all images." "This opens a dialog where you set the desired image size and file" "name.A click on "Resize" finally resizes the image(s) using" "ImageMagick's convert tool." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < ../01-fix_gcc_options.patch patch -p1 < ../02-bulgarian_translation.patch patch -p1 < ../03-catalan_translation.patch patch -p1 < ../04-german_translation.patch ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-gtk-doc --disable-static make || return 1 make install DESTDIR=$startdir/pkg }