[arch-commits] Commit in perl-sub-info/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 10:44:02 UTC 2020
Date: Sunday, June 21, 2020 @ 10:44:01
Author: felixonmars
Revision: 649107
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 649106, perl-sub-info/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-sub-info/repos/community-staging-any/PKGBUILD (from rev 649106, perl-sub-info/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 10:44:01 UTC (rev 649107)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-sub-info
+_cpanname=Sub-Info
+pkgver=0.002
+pkgrel=7
+pkgdesc="Tool for inspecting subroutines."
+arch=('any')
+license=('PerlArtistic' 'GPL')
+depends=('perl-importer')
+options=('!emptydirs')
+url="https://search.cpan.org/dist/$_cpanname"
+source=("https://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