summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose17112018-12-11 23:25:54 +0100
committerjose17112018-12-11 23:25:54 +0100
commit380c7523808edbfb9d70fbec5b1542b691f72c6d (patch)
tree04b5b3581ee8c78c21798be7410651dc16749fbb
parentce75923c6dba1aea1bbe3c3fb97463dfead54635 (diff)
downloadaur-380c7523808edbfb9d70fbec5b1542b691f72c6d.tar.gz
Reset Perl-related envvars (thanks @mr_nuub)
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 50791490d827..388c32b774e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Jun 7 21:20:17 UTC 2017
+# Tue Dec 11 22:25:20 UTC 2018
pkgbase = perl-authen-pam
pkgdesc = Perl interface to PAM library
pkgver = 0.16
- pkgrel = 3
+ pkgrel = 4
url = http://search.cpan.org/~nikip/Authen-PAM-0.16/
arch = any
license = unknown
diff --git a/PKGBUILD b/PKGBUILD
index 9c9da86909eb..24afeaad97bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,11 @@
# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: Christian Hesse <mail@earthworm.de>
# Contributor: amish
+# Contributor: mr_nuub
-pkgname='perl-authen-pam'
-pkgver='0.16'
-pkgrel='3'
+pkgname=perl-authen-pam
+pkgver=0.16
+pkgrel=4
pkgdesc="Perl interface to PAM library"
arch=('any')
url="http://search.cpan.org/~nikip/Authen-PAM-$pkgver/"
@@ -27,13 +28,13 @@ patch -p1 -i ../dotinc.patch
build() {
cd ${srcdir}/Authen-PAM-$pkgver
export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
- cd "$DIST_DIR"
perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd ${srcdir}/Authen-PAM-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
make DESTDIR="$pkgdir" install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete