summaryrefslogtreecommitdiff
path: root/community/converseen/PKGBUILD
blob: 20c0e739d0d0248b92f66b4c64ddd35e4b1ad50e (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
33
34
35
# $Id: PKGBUILD 85338 2013-03-01 10:29:17Z andrea $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: archtux <antonio.arias99999 at gmail.com>

pkgname=converseen
pkgver=0.5.3
pkgrel=2
pkgdesc="The batch image converter and resizer"
arch=('i686' 'x86_64' 'mips64el')
url="http://converseen.sourceforge.net/"
license=('GPL3')
depends=('imagemagick' 'qt4' 'libwmf' 'openexr')
makedepends=('cmake')
install=converseen.install
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('8064020c56a531bb190967369c907cec')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
          -DCMAKE_BUILD_TYPE=Release \
          -DCMAKE_INSTALL_PREFIX=/usr \
          -DImageMagick_Magick++_LIBRARY:FILEPATH=/usr/lib/libMagick++-Q16.so \
          -DImageMagick_MagickWand_LIBRARY:FILEPATH=/usr/lib/libMagickWand-Q16.so \
          -DImageMagick_MagickCore_LIBRARY:FILEPATH=/usr/lib/libMagickCore-Q16.so
  make
}

package() {
  cd "${srcdir}/build"

  make DESTDIR="${pkgdir}" install
}