archrelease: copy trunk to community-any
[ArchLinux/community.git] / cimg / trunk / PKGBUILD
blob2c40d6d547f3b87620d184538bd1d54660c74668
1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: Diego Galizzi <dgalizzi at gmail dot com>
3 # Contributor: zoulnix <http://goo.gl/HQaP>
5 pkgname=cimg
6 pkgver=3.2.4
7 pkgrel=1
8 pkgdesc="Open-source C++ toolkit for image processing"
9 arch=('any')
10 url="http://cimg.eu/"
11 license=('custom')
12 depends=('fftw' 'graphicsmagick')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/dtschump/CImg/archive/v.${pkgver}.tar.gz")
14 sha512sums=('71cbf5161a7778a14e105d8aa41bf0431303b6f4a0f4982d3788903b0505f5ae96be9515c67ea6a52e0e76fdcb25efe3cfd7684980545d078ff41e10dbb4fbb6')
16 package() {
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}/