[arch-commits] Commit in (4 files)

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


    Date: Wednesday, January 4, 2017 @ 10:10:37
  Author: felixonmars
Revision: 204846

addpkg: perl-sub-info 0.002-1

Added:
  perl-sub-info/
  perl-sub-info/repos/
  perl-sub-info/trunk/
  perl-sub-info/trunk/PKGBUILD

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

Added: perl-sub-info/trunk/PKGBUILD
===================================================================
--- perl-sub-info/trunk/PKGBUILD	                        (rev 0)
+++ perl-sub-info/trunk/PKGBUILD	2017-01-04 10:10:37 UTC (rev 204846)
@@ -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"
+}


Property changes on: perl-sub-info/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list