updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / converseen / PKGBUILD
bloba1ec2c3de3b5fbd4a9d2c27e303f3741f09b7251
1 # Maintainer: archtux <antonio.arias99999 at gmail.com>
3 pkgname=converseen
4 pkgver=0.4.6
5 pkgrel=2
6 pkgdesc="The batch image converter and resizer. It supports more than 100 image formats."
7 arch=('i686' 'x86_64')
8 url="http://converseen.sourceforge.net/"
9 license=('GPL2')
10 depends=('graphicsmagick' 'imagemagick' 'openexr' 'qt')
11 source=(http://downloads.sourceforge.net/sourceforge/converseen/converseen-$pkgver.tar.bz2)
12 md5sums=('07c876b52e1982b8b2493c3aea3c3071')
14 build() {
15   cd $srcdir/$pkgname-$pkgver
17   # Build
18   qmake
19   make
21   # Binary
22   install -Dm755 converseen $pkgdir/usr/bin/converseen
24   # Translations
25   cd ./loc
26   for file in $(find . -name '*.qm' -print); do
27   install -Dm644 $file $pkgdir/usr/share/converseen/$file
28   done
30   # Desktop icon
31   cd ../res
32   install -Dm644 converseen.png     $pkgdir/usr/share/pixmaps/converseen.png
33   install -Dm644 converseen.desktop $pkgdir/usr/share/applications/converseen.desktop
35   # KDE4 Servicemenu
36   install -Dm644 converseen_import.desktop $pkgdir/usr/share/kde4/services/ServiceMenus/converseen_import.desktop