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

Felix Yan felixonmars at archlinux.org
Mon May 24 11:35:49 UTC 2021


    Date: Monday, May 24, 2021 @ 11:35:48
  Author: felixonmars
Revision: 944653

archrelease: copy trunk to community-staging-any

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

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

Copied: perlbrew/repos/community-staging-any/PKGBUILD (from rev 944650, perlbrew/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 11:35:48 UTC (rev 944653)
@@ -0,0 +1,32 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perlbrew
+pkgver=0.89
+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=('5a4bde39ae4a63d260438a3ec68b7566ccb64d0f')
+
+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