1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: Diego Galizzi <dgalizzi at gmail dot com>
3 # Contributor: zoulnix <http://goo.gl/HQaP>
8 pkgdesc="Open-source C++ toolkit for image processing"
12 depends=('fftw' 'graphicsmagick')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/dtschump/CImg/archive/v.${pkgver}.tar.gz")
14 sha512sums=('71cbf5161a7778a14e105d8aa41bf0431303b6f4a0f4982d3788903b0505f5ae96be9515c67ea6a52e0e76fdcb25efe3cfd7684980545d078ff41e10dbb4fbb6')
17 cd "${srcdir}"/CImg-v.${pkgver}
18 install -d "${pkgdir}"/usr/include/CImg/plugins ${pkgdir}/usr/share/licenses/${pkgname}
19 install -m644 CImg.h "${pkgdir}"/usr/include/
20 install -m644 plugins/*.h "${pkgdir}"/usr/include/CImg/plugins/
21 install -m644 Licence_CeCILL*_V*-en.txt "${pkgdir}"/usr/share/licenses/${pkgname}/