summaryrefslogtreecommitdiff
path: root/community/kim4/PKGBUILD
blob: 795ee47f5680df9fc5baca698734692a6761d902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: raku <raczkow@gmail.com>

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
}