[arch-commits] Commit in (4 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Oct 14 08:44:01 UTC 2016
Date: Friday, October 14, 2016 @ 08:44:00
Author: spupykin
Revision: 192243
Added:
perl-list-someutils/
perl-list-someutils/repos/
perl-list-someutils/trunk/
perl-list-someutils/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: perl-list-someutils/trunk/PKGBUILD
===================================================================
--- perl-list-someutils/trunk/PKGBUILD (rev 0)
+++ perl-list-someutils/trunk/PKGBUILD 2016-10-14 08:44:00 UTC (rev 192243)
@@ -0,0 +1,38 @@
+# CPAN Name : List::AllUtils
+# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# Generator : CPANPLUS::Dist::Arch 1.29
+
+pkgname=perl-list-someutils
+pkgver=0.53
+pkgrel=1
+pkgdesc='Perl package that combines List::Util and List::MoreUtils in one bite-sized package'
+arch=('any')
+url='http://search.cpan.org/dist/List-SomeUtils'
+license=('Artistic2.0')
+depends=('perl' 'perl-module-implementation')
+checkdepends=('perl-test-warnings')
+source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-SomeUtils-$pkgver.tar.gz)
+options=(!emptydirs)
+md5sums=('bde33a340a9644368ac2d47d2cac8bb5')
+
+build() {
+ cd List-SomeUtils-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd List-SomeUtils-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd List-SomeUtils-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
More information about the arch-commits
mailing list