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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:33:03 UTC 2021


    Date: Monday, May 24, 2021 @ 08:33:02
  Author: felixonmars
Revision: 943947

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 943943, perl-local-lib/trunk/PKGBUILD)

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

Copied: perl-local-lib/repos/community-staging-any/PKGBUILD (from rev 943943, perl-local-lib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:33:02 UTC (rev 943947)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-local-lib
+pkgver=2.000024
+pkgrel=4
+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