diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 2 insertions, 6 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Thu Nov 24 19:32:52 UTC 2016 +# Tue Feb 28 01:33:27 UTC 2017 pkgbase = perl-opengl pkgdesc = Interface to OpenGL drawing/imaging library pkgver = 0.70 @@ -15,16 +15,12 @@ source=("https://cpan.metacpan.org/authors/id/C/CH/CHM/OpenGL-${pkgver}.tar.gz") md5sums=('8b651500162e9b999347a06dc0664ab6') _distdir="OpenGL-$pkgver" -prepare() { +build() { # Setting these env variables overwrites any command-line-options we don't want... export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null - #cd "$srcdir/$_distdir" -} - -build() { cd "$srcdir/$_distdir" if [ -z "$DISPLAY" ]; then warning "Empty \$DISPLAY - falling back to xvfb-run (xorg-server-xvfb)" |