[arch-commits] Commit in perl-sub-quote/repos (community-any community-any/PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Thu Jan 5 14:02:56 UTC 2017
Date: Thursday, January 5, 2017 @ 14:02:56
Author: spupykin
Revision: 204907
archrelease: copy trunk to community-any
Added:
perl-sub-quote/repos/community-any/
perl-sub-quote/repos/community-any/PKGBUILD
(from rev 204906, perl-sub-quote/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: perl-sub-quote/repos/community-any/PKGBUILD (from rev 204906, perl-sub-quote/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2017-01-05 14:02:56 UTC (rev 204907)
@@ -0,0 +1,39 @@
+pkgname=perl-sub-quote
+pkgver=2.003001
+pkgrel=1
+pkgdesc="efficient generation of subroutines via string eval"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-test-fatal>=0.010')
+url='http://search.cpan.org/dist/Sub-Quote'
+source=("http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Sub-Quote-$pkgver.tar.gz")
+sha256sums=('9d471d8e13e7ce4793d5a5ec04a60fface14dd53be78dd94d228871915cfd1f9')
+
+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/Sub-Quote-$pkgver"
+ perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/Sub-Quote-$pkgver"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/Sub-Quote-$pkgver"
+ make install
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
More information about the arch-commits
mailing list