diff options
author | Sebastian 'Swift Geek' Grzywna | 2017-02-28 02:33:28 +0100 |
---|---|---|
committer | Sebastian 'Swift Geek' Grzywna | 2017-02-28 02:33:28 +0100 |
commit | ee1c03a10cbb8ac24c966696d4332271bb11d405 (patch) | |
tree | e32115faa0099afb48c69b56b6b3f0cd3e022fbd /PKGBUILD | |
parent | c2598f36c4420c6a82709fc472d2855d48c3c15f (diff) | |
download | aur-perl-opengl.tar.gz |
Fix use with makepkg -e and -o options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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)" |