1 # Contributor: zoulnix <http://goo.gl/HQaP>
2 pkgname=perl-opengl-image
5 pkgdesc="Perl OpenGL module for handling images."
7 url="http://graphcomp.com/opengl/"
8 license=('GPL' 'Artistic')
9 depends=('imagemagick' 'perl-opengl')
10 makedepends=('gcc' 'make' 'pkg-config')
11 options=('!emptydirs')
12 source=(http://cpan.org/authors/id/B/BF/BFREE/OpenGL-Image-${pkgver}.tar.gz)
13 md5sums=('c68c25103fd19c752e5e9c97f0aecac0')
16 cd ${srcdir}/OpenGL-Image-${pkgver}
18 perl Makefile.PL INSTALLDIRS=vendor || return 1
23 cd ${srcdir}/OpenGL-Image-${pkgver}
25 make DESTDIR=${pkgdir} install || return 1
27 # Removing unnecessary stuff
28 find ${pkgdir} -depth -type f -name "perllocal.pod" -exec rm {} \;
29 find ${pkgdir} -depth -type f -name ".packlist" -exec rm {} \;