[arch-commits] Commit in perl-sub-info/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:21:00 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:20:59
  Author: felixonmars
Revision: 366388

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-sub-info/repos/community-staging-any/PKGBUILD (from rev 366386, perl-sub-info/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 09:20:59 UTC (rev 366388)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-sub-info
+_cpanname=Sub-Info
+pkgver=0.002
+pkgrel=5
+pkgdesc="Tool for inspecting subroutines."
+arch=('any')
+license=('PerlArtistic' 'GPL')
+depends=('perl-importer')
+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