[arch-commits] Commit in perl-sub-info/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun May 29 10:19:40 UTC 2022
Date: Sunday, May 29, 2022 @ 10:19:40
Author: foutrelis
Revision: 1214149
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 1214148, perl-sub-info/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-sub-info/repos/community-staging-any/PKGBUILD (from rev 1214148, perl-sub-info/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2022-05-29 10:19:40 UTC (rev 1214149)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-sub-info
+_cpanname=Sub-Info
+pkgver=0.002
+pkgrel=9
+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