#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=converseen pkgver=0.4.7 pkgrel=1 zenver=72 arch=i486 source=("http://sourceforge.net/projects/converseen/files/Converseen/Converseen%200.4/$pkgver/$pkgname-$pkgver.tar.bz2" \ "converseen.desktop" "converseen.png") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url="http://converseen.sourceforge.net/" options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "converseen - The batch image converter and resizer" "Converseen is an open source project written in C++ with the powerful" "Qt4 libraries. Thanks to the Magick++ image libraries it supports more" "than 100 image formats. You can convert and resize an unlimited number" "of images to any of the most popular formats: DPX, EXR, GIF, JPEG," "JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF." ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p build cd build cmake \ -DCMAKE_INSTALL_PREFIX:STRING="/usr" \ -DCMAKE_CXX_FLAGS:STRING="-O2 -march=i486 -mtune=i686" \ -DCMAKE_C_FLAGS:STRING="-O2 -march=i486 -mtune=i686" \ .. make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg//usr/share/icons/hicolor/48x48/ cp ../../converseen.png $startdir/pkg//usr/share/icons/hicolor/48x48/ rm $startdir/pkg/usr/share/applications/converseen.desktop cp ../../converseen.desktop $startdir/pkg/usr/share/applications/ }