[arch-commits] Commit in perlbrew/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:02:43 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:02:42
  Author: felixonmars
Revision: 649571

archrelease: copy trunk to community-staging-any

Added:
  perlbrew/repos/community-staging-any/
  perlbrew/repos/community-staging-any/PKGBUILD
    (from rev 649566, perlbrew/trunk/PKGBUILD)

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

Copied: perlbrew/repos/community-staging-any/PKGBUILD (from rev 649566, perlbrew/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 16:02:42 UTC (rev 649571)
@@ -0,0 +1,32 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perlbrew
+pkgver=0.87
+pkgrel=2
+pkgdesc='Manage perl installations in your $HOME'
+arch=('any')
+url="https://metacpan.org/release/App-perlbrew"
+license=('MIT')
+depends=('perl' 'perl-capture-tiny' 'perl-cpan-perl-releases' 'perl-devel-patchperl'
+         'perl-file-path-tiny' 'perl-local-lib')
+makedepends=('perl-module-build-tiny')
+checkdepends=('perl-test-exception' 'perl-test-output' 'perl-test-spec'
+              'perl-path-class' 'perl-io-all')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/G/GU/GUGOD/App-perlbrew-$pkgver.tar.gz")
+sha1sums=('e1d5c3549ea25346e03b1e0a43161e46b981047c')
+
+build() {
+  cd App-perlbrew-$pkgver
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+  perl Build.PL
+  ./Build
+}
+
+package() {
+  cd App-perlbrew-$pkgver
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  ./Build install --installdirs=vendor --destdir="$pkgdir"
+  install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/perlbrew/LICENSE
+}



More information about the arch-commits mailing list