desktop/converseen/PKGBUILD

36 lines
1.2 KiB
Bash
Raw Normal View History

pkgname=converseen
2015-03-24 06:38:37 +08:00
pkgver=0.9.2
2015-03-05 12:54:49 +08:00
pkgrel=1
pkgdesc="The batch image converter and resizer. It supports more than 100 image formats."
2012-11-15 12:44:16 +08:00
arch=('x86_64')
url="http://converseen.sourceforge.net/"
2012-06-07 19:14:22 +08:00
license=('GPL3')
categories=('graphics')
depends=('imagemagick' 'qt' 'libwmf' 'openexr' 'fftw')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
2012-06-07 19:14:22 +08:00
screenshot=('http://converseen.sourceforge.net/res/converseen1.png')
2015-03-24 06:38:37 +08:00
md5sums=('d08caf7a00ee7761dc1f0551527b56ee')
build() {
2012-06-07 19:14:22 +08:00
cd "${srcdir}"
2013-07-27 18:39:55 +08:00
mkdir -p build
2012-06-07 19:14:22 +08:00
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
2013-07-27 18:39:55 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DImageMagick_Magick++_INCLUDE_DIR:PATH=/usr/include/ImageMagick-6 \
-DImageMagick_Magick++_LIBRARY:FILEPATH=/usr/lib/libMagick++-6.Q16HDRI.so \
2013-07-27 18:39:55 +08:00
-DImageMagick_MagickWand_INCLUDE_DIR:PATH=/usr/include/ImageMagick-6 \
-DImageMagick_MagickWand_LIBRARY:FILEPATH=/usr/lib/libMagickWand-6.Q16HDRI.so \
2013-07-27 18:39:55 +08:00
-DImageMagick_MagickCore_INCLUDE_DIR:PATH=/usr/include/ImageMagick-6 \
-DImageMagick_MagickCore_LIBRARY:FILEPATH=/usr/lib/libMagickCore-6.Q16HDRI.so
make
}
package() {
2012-06-07 19:14:22 +08:00
cd "${srcdir}/build"
2012-06-07 19:14:22 +08:00
make DESTDIR="${pkgdir}" install
}