diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-19 09:28:10 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-19 09:31:25 +0000 |
commit | f898ab9c6988f3cf8e116b42d893dcd3aed51003 (patch) | |
tree | 382e1c506550791c952cf89a4b815f89cfd6050e /p5-cpan-meta/Pkgfile | |
parent | 3def2090534c91f1e693c33f6812263e4975ff05 (diff) | |
download | contrib-f898ab9c6988f3cf8e116b42d893dcd3aed51003.tar.gz contrib-f898ab9c6988f3cf8e116b42d893dcd3aed51003.tar.xz |
p5-cpan-meta: initial commit, version 2.150010
Diffstat (limited to 'p5-cpan-meta/Pkgfile')
-rw-r--r-- | p5-cpan-meta/Pkgfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/p5-cpan-meta/Pkgfile b/p5-cpan-meta/Pkgfile new file mode 100644 index 000000000..faebc14ec --- /dev/null +++ b/p5-cpan-meta/Pkgfile @@ -0,0 +1,20 @@ +# Description: the distribution metadata for a CPAN dist +# URL: https://metacpan.org/release/CPAN-Meta +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: + +name=p5-cpan-meta +version=2.150010 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-$version.tar.gz) + +build() { + cd CPAN-Meta-$version + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + perl Makefile.PL + make + make DESTDIR=$PKG install + find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete + rm -fr $PKG/usr/share/man +} |