diff options
author | Erich Eckner <git@eckner.net> | 2016-04-05 15:07:12 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-05 15:07:12 +0200 |
commit | 022fbe72230c9831d3672a2969fb6f42d541477b (patch) | |
tree | fc18433b9df6588222abc23e6b785d9a28514304 /perl-heap | |
parent | ceba80c3410f0315a045b7e00fefa76a577ca610 (diff) | |
download | archlinuxewe.git.save-022fbe72230c9831d3672a2969fb6f42d541477b.tar.xz |
perl-heap neu
Diffstat (limited to 'perl-heap')
-rw-r--r-- | perl-heap/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/perl-heap/PKGBUILD b/perl-heap/PKGBUILD new file mode 100644 index 00000000..4e18e655 --- /dev/null +++ b/perl-heap/PKGBUILD @@ -0,0 +1,49 @@ +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname='perl-heap' +pkgver='0.80' +pkgrel='1' +pkgdesc="Perl extensions for keeping data partially sorted" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/Heap' +source=("http://search.cpan.org/CPAN/authors/id/J/JM/JMM/Heap-${pkgver}.tar.gz") +sha512sums=('133e2668a90de8cea13302464188415fa30e4a0a85fb51af7409ff2e3466e33a6daf172b2466f046c5275db6ab19bb573e8b2d14acf616b110bdd60869865690') +_distdir="Heap-${pkgver}" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |