mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
unset environment variables
This commit is contained in:
parent
c3171a89f4
commit
ad56b02a7b
2 changed files with 7 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = perl-file-xdg
|
||||
pkgdesc = CPAN/File::XDG -- basic implementation of the XDG base directory spec
|
||||
pkgver = 1.02
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://metacpan.org/module/File::XDG
|
||||
arch = any
|
||||
license = GPL
|
||||
|
|
|
|||
8
PKGBUILD
8
PKGBUILD
|
|
@ -1,9 +1,10 @@
|
|||
# Maintainer: Brian Bidulock <bidulock@openss7.org>
|
||||
# Maintainer: Alad Wenter <alad@archlinux.org>
|
||||
# Contributor: Brian Bidulock <bidulock@openss7.org>
|
||||
|
||||
pkgname=perl-file-xdg
|
||||
_cpanname=File-XDG
|
||||
pkgver=1.02
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="CPAN/File::XDG -- basic implementation of the XDG base directory spec"
|
||||
arch=('any')
|
||||
url="https://metacpan.org/module/File::XDG"
|
||||
|
|
@ -15,13 +16,16 @@ md5sums=('162aafd0414382491f11f9ef6e85aae7')
|
|||
|
||||
build() {
|
||||
cd $_cpanname-$pkgver
|
||||
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_cpanname-$pkgver
|
||||
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
find "$pkgdir" -name '.packlist' -delete
|
||||
find "$pkgdir" -name '*.pod' -delete
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue