# $Id: $ # Maintainer: Andrea Scarpino # Contributor: raku pkgname=kim4 pkgver=0.9.5 pkgrel=3 pkgdesc="Kde Image Menu to compress, resize, convert, rename and much more" arch=(i686 x86_64) url="http://www.kde-apps.org/content/show.php?content=11505" license=('GPL') depends=('imagemagick' 'kdebase-dolphin') source=(http://bouveyron.free.fr/kim/release/$pkgname-$pkgver.tar.gz) md5sums=('c7934ab0dbf988da5f60d9c4cbf97dd5') build() { cd ${srcdir}/${pkgname}/src install -d ${pkgdir}/usr/share/kde4/services/ServiceMenus install -Dm644 kim_{compressandresize,convertandrotate,publication}.desktop \ ${pkgdir}/usr/share/kde4/services/ServiceMenus || return 1 install -d ${pkgdir}/usr/bin install -Dm755 bin/kim_{album,compress,convert,flipflop,galery,multiburst,other,pelemele} \ bin/kim_{print,record,record_mpg,rename,resize,resizeandsend,rotate,rotatewithexif} \ bin/kim_{slideshow,sortbydate,treatment,webexport} ${pkgdir}/usr/bin/ || return 1 install -d ${pkgdir}/usr/share/kim/slideshow install -Dm644 slideshow/{dewslider.swf,index.part1,index.part2} \ ${pkgdir}/usr/share/kim/slideshow || return 1 install -d ${pkgdir}/usr/share/kim/gallery install -Dm644 gallery/{index.part1,index.part2} \ ${pkgdir}/usr/share/kim/gallery || return 1 }