diff options
author | Anton Leontiev | 2016-05-05 20:51:27 +0300 |
---|---|---|
committer | Anton Leontiev | 2016-05-05 20:51:27 +0300 |
commit | 9e9788da09d196d7973d5ae921c9510d99f38275 (patch) | |
tree | 8fad88ba359d0356d5000476a752f28ca339840b /PKGBUILD | |
download | aur-9e9788da09d196d7973d5ae921c9510d99f38275.tar.gz |
Initial version v0.01
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bd0708c3d9c1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# CPAN Name : Test::Identity +# Contributor: Anonymous +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname=perl-test-identity +pkgver=0.01 +pkgrel=1 +pkgdesc='Perl module to test the referential identity of a reference' +arch=('any') +url='https://metacpan.org/release/Test-Identity' +license=('PerlArtistic' 'GPL') +depends=('perl') +source=(http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Test-Identity-0.01.tar.gz) +options=(!emptydirs) +md5sums=('ecef85c791cf5847e4c374983cf22a74') + +sanitize() { + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null +} + +build() { + cd Test-Identity-0.01 + sanitize + perl Build.PL --installdirs vendor --destdir "$pkgdir" + perl Build +} + +check() { + cd Test-Identity-0.01 + sanitize + perl Build test +} + +package() { + cd Test-Identity-0.01 + sanitize + perl Build install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} |