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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:35:02 UTC 2021


    Date: Monday, May 24, 2021 @ 08:35:02
  Author: felixonmars
Revision: 943997

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-sub-install/repos/community-staging-any/PKGBUILD (from rev 943994, perl-sub-install/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:35:02 UTC (rev 943997)
@@ -0,0 +1,30 @@
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
+
+pkgname=perl-sub-install
+pkgver=0.928
+pkgrel=7
+pkgdesc="Install subroutines into packages easily"
+arch=('any')
+url="https://metacpan.org/release/Sub-Install"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Install-$pkgver.tar.gz)
+sha1sums=('868c6cb4c0232d9ac3f865f232359f82012be8d6')
+
+build() {
+  cd Sub-Install-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Sub-Install-$pkgver
+  make test
+}
+
+package() {
+  cd Sub-Install-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list