1 # Contributor: zoulnix <http://goo.gl/HQaP>
5 pkgdesc="OpenGL Perl module written in C using Perl XS."
7 url="http://graphcomp.com/opengl/"
8 license=('GPL' 'Artistic')
9 depends=('freeglut' 'perl')
10 makedepends=('gcc' 'make' 'pkg-config')
11 options=('!emptydirs')
12 source=(http://cpan.org/authors/id/C/CH/CHM/OpenGL-${pkgver}.tar.gz)
13 md5sums=('e94f3e3d0995df8bc60cfa126e9f1d4e')
16 cd ${srcdir}/OpenGL-${pkgver}
18 perl Makefile.PL INSTALLDIRS=vendor || return 1
23 cd ${srcdir}/OpenGL-${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 {} \;