diff options
Diffstat (limited to 'community/converseen/PKGBUILD')
-rw-r--r-- | community/converseen/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/converseen/PKGBUILD b/community/converseen/PKGBUILD new file mode 100644 index 000000000..f7b814f97 --- /dev/null +++ b/community/converseen/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 94206 2013-07-16 17:32:49Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: archtux <antonio.arias99999 at gmail.com> + +pkgname=converseen +pkgver=0.6.3 +pkgrel=1 +pkgdesc="The batch image converter and resizer" +arch=('i686' 'x86_64') +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=('33b0b1e3649c075ab7ad970ee4ed465c') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DImageMagick_Magick++_INCLUDE_DIR:PATH=/usr/include/ImageMagick-6 \ + -DImageMagick_Magick++_LIBRARY:FILEPATH=/usr/lib/libMagick++-6.Q16.so \ + -DImageMagick_MagickWand_INCLUDE_DIR:PATH=/usr/include/ImageMagick-6 \ + -DImageMagick_MagickWand_LIBRARY:FILEPATH=/usr/lib/libMagickWand-6.Q16.so \ + -DImageMagick_MagickCore_INCLUDE_DIR:PATH=/usr/include/ImageMagick-6 \ + -DImageMagick_MagickCore_LIBRARY:FILEPATH=/usr/lib/libMagickCore-6.Q16.so + make +} + +package() { + cd "${srcdir}/build" + + make DESTDIR="${pkgdir}" install +} |