diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-29 23:37:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-29 23:37:27 (GMT) |
commit | d6f38098e342b9b4d8d915e67c5cdba4a52cb45a (patch) | |
tree | 6517608ad1f75c81ad5c6446d405b8c923c1ec6d | |
parent | babadeeed36c9cc8e8b7689175034523718a5bde (diff) | |
download | linhes_pkgbuild-d6f38098e342b9b4d8d915e67c5cdba4a52cb45a.zip linhes_pkgbuild-d6f38098e342b9b4d8d915e67c5cdba4a52cb45a.tar.gz linhes_pkgbuild-d6f38098e342b9b4d8d915e67c5cdba4a52cb45a.tar.bz2 |
perl-archive-extract: initial inclusion
-rw-r--r-- | abs/core/perl_modules/perl-archive-extract/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-archive-extract/PKGBUILD b/abs/core/perl_modules/perl-archive-extract/PKGBUILD new file mode 100644 index 0000000..535c767 --- /dev/null +++ b/abs/core/perl_modules/perl-archive-extract/PKGBUILD @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Florian Pritz <bluewind@xinu.at> + +pkgname=perl-archive-extract +pkgver=0.80 +pkgrel=3 +pkgdesc='Generic archive extracting mechanism' +arch=(any) +license=(PerlArtistic GPL) +options=(!emptydirs) +depends=(perl) +url=https://metacpan.org/release/Archive-Extract +source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Archive-Extract-$pkgver.tar.gz") +sha512sums=('2f216ea29639c4d8b7b19e4b23542b6f69e970cfb0188dca55ff7ce7d3a3021e43129dbdf81b82f7d97d0080d00f858c6af3595520b6bacac30073a8b25ea4f0') +_ddir="Archive-Extract-$pkgver" + +build() ( + cd "$srcdir/$_ddir" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() ( + cd "$srcdir/$_ddir" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() ( + cd "$srcdir/$_ddir" + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" + 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: |