summaryrefslogtreecommitdiff
path: root/community/converseen/PKGBUILD
blob: 3579c5c98adba15e3648c71c964cc32c89738f08 (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: PKGBUILD 99619 2013-10-30 16:13:52Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: archtux <antonio.arias99999 at gmail.com>

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

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
          -DCMAKE_BUILD_TYPE=Release \
          -DCMAKE_INSTALL_PREFIX=/usr 
  make
}

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

  make DESTDIR="${pkgdir}" install
}