[arch-commits] Commit in perl-data-uuid/trunk (PKGBUILD)
Fabio Castelli
muflone at archlinux.org
Sun Apr 1 22:13:09 UTC 2018
Date: Sunday, April 1, 2018 @ 22:13:03
Author: muflone
Revision: 313757
upgpkg: perl-data-uuid 1.221-4
Modified:
perl-data-uuid/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-01 19:33:08 UTC (rev 313756)
+++ PKGBUILD 2018-04-01 22:13:03 UTC (rev 313757)
@@ -5,7 +5,7 @@
_perl_namespace=Data
_perl_module=UUID
pkgver=1.221
-pkgrel=3
+pkgrel=4
pkgdesc="Globally/Universally Unique Identifiers (GUIDs/UUIDs)"
arch=('x86_64')
url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
@@ -17,18 +17,23 @@
build() {
cd "${_perl_namespace}-${_perl_module}-${pkgver}"
- perl Makefile.PL
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ /usr/bin/perl Makefile.PL
make
}
check() {
cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
make test
}
package() {
cd "${_perl_namespace}-${_perl_module}-${pkgver}"
- make pure_install DESTDIR="${pkgdir}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
# Install license file
install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE"
More information about the arch-commits
mailing list