[arch-commits] Commit in perl-sub-info/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jan 4 10:11:01 UTC 2017


    Date: Wednesday, January 4, 2017 @ 10:11:01
  Author: felixonmars
Revision: 204847

archrelease: copy trunk to community-any

Added:
  perl-sub-info/repos/community-any/
  perl-sub-info/repos/community-any/PKGBUILD
    (from rev 204846, perl-sub-info/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: perl-sub-info/repos/community-any/PKGBUILD (from rev 204846, perl-sub-info/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-01-04 10:11:01 UTC (rev 204847)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-sub-info
+_cpanname=Sub-Info
+pkgver=0.002
+pkgrel=1
+pkgdesc="Tool for inspecting subroutines."
+arch=('any')
+license=('PerlArtistic' 'GPL')
+# Specify version bounds to pick up perl-test-simple in [community], since perl includes an old one.
+depends=('perl-importer' 'perl-test-simple>=1.300000')
+options=('!emptydirs')
+url="http://search.cpan.org/dist/$_cpanname"
+source=("http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_cpanname-$pkgver.tar.gz")
+md5sums=('335345b534fc0539c894050f7814cbda')
+
+build() {
+  cd "$srcdir/$_cpanname-$pkgver"
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "$srcdir/$_cpanname-$pkgver"
+  make test
+}
+
+package() {
+  cd "$srcdir/$_cpanname-$pkgver"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list