summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 2 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 83ad7e8d36bc..794a9b0cb026 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 6cd446428c3a..9767d6e66f0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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)"