mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Remove needless variables; Replace find with NO_PACKLIST and NO_PERLLOCAL
This commit is contained in:
parent
d17f985a6a
commit
a3922ea735
2 changed files with 6 additions and 8 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = perl-regexp-debugger
|
||||
pkgdesc = Visually debug regexes in-place
|
||||
pkgver = 0.002007
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://metacpan.org/pod/Regexp::Debugger
|
||||
arch = any
|
||||
license = Artistic-1.0-Perl OR GPL-1.0-or-later
|
||||
|
|
|
|||
12
PKGBUILD
12
PKGBUILD
|
|
@ -4,7 +4,7 @@
|
|||
_dist=Regexp-Debugger
|
||||
pkgname=perl-regexp-debugger
|
||||
pkgver=0.002007
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Visually debug regexes in-place'
|
||||
arch=('any')
|
||||
url='https://metacpan.org/pod/Regexp::Debugger'
|
||||
|
|
@ -21,8 +21,8 @@ build()
|
|||
{
|
||||
cd $_dist-$pkgver
|
||||
|
||||
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
||||
export PERL_MM_USE_DEFAULT=1
|
||||
unset PERL_MM_OPT PERL5LIB PERL_LOCAL_LIB_ROOT
|
||||
export PERL_MM_OPT='NO_PACKLIST=1 NO_PERLLOCAL=1' PERL_MM_USE_DEFAULT=1
|
||||
|
||||
/usr/bin/perl Makefile.PL
|
||||
make
|
||||
|
|
@ -33,8 +33,7 @@ check()
|
|||
{
|
||||
cd $_dist-$pkgver
|
||||
|
||||
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
||||
export PERL_MM_USE_DEFAULT=1
|
||||
unset PERL5LIB PERL_LOCAL_LIB_ROOT
|
||||
|
||||
make test
|
||||
}
|
||||
|
|
@ -43,8 +42,7 @@ package()
|
|||
{
|
||||
cd $_dist-$pkgver
|
||||
|
||||
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
||||
unset PERL5LIB PERL_LOCAL_LIB_ROOT
|
||||
|
||||
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
|
||||
find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue