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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:28:53 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:28:53
  Author: foutrelis
Revision: 470159

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 470157, perl-sub-info/trunk/PKGBUILD)

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

Copied: perl-sub-info/repos/community-staging-any/PKGBUILD (from rev 470157, perl-sub-info/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:28:53 UTC (rev 470159)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-sub-info
+_cpanname=Sub-Info
+pkgver=0.002
+pkgrel=6
+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