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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 09:35:41 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:35:41
  Author: foutrelis
Revision: 1214081

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-sub-name/repos/community-staging-x86_64/
  perl-sub-name/repos/community-staging-x86_64/PKGBUILD
    (from rev 1214079, perl-sub-name/trunk/PKGBUILD)

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

Copied: perl-sub-name/repos/community-staging-x86_64/PKGBUILD (from rev 1214079, perl-sub-name/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 09:35:41 UTC (rev 1214081)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-sub-name
+_cpanname=Sub-Name
+pkgver=0.26
+pkgrel=4
+pkgdesc="(re)name a sub"
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+url="https://search.cpan.org/dist/$_cpanname"
+source=("https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_cpanname-$pkgver.tar.gz")
+md5sums=('0eb109dfa223e056c07d84c9fbda1762')
+
+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