[arch-commits] Commit in perl-local-lib/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 09:34:55 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:34:55
  Author: felixonmars
Revision: 1214062

archrelease: copy trunk to community-staging-any

Added:
  perl-local-lib/repos/community-staging-any/
  perl-local-lib/repos/community-staging-any/PKGBUILD
    (from rev 1214061, perl-local-lib/trunk/PKGBUILD)

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

Copied: perl-local-lib/repos/community-staging-any/PKGBUILD (from rev 1214061, perl-local-lib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 09:34:55 UTC (rev 1214062)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-local-lib
+pkgver=2.000024
+pkgrel=5
+pkgdesc="Create and use a local lib/ for perl modules with PERL5LIB"
+arch=('any')
+url="https://search.cpan.org/dist/local-lib/"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/H/HA/HAARG/local-lib-$pkgver.tar.gz")
+sha256sums=('2e9b917bd48a0615e42633b2a327494e04610d8f710765b9493d306cead98a05')
+
+build() {
+  cd local-lib-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd local-lib-${pkgver}
+  make test
+}
+
+package() {
+  cd local-lib-${pkgver}
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list