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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:55:50 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:55:50
  Author: foutrelis
Revision: 470550

archrelease: copy trunk to community-staging-any

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

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

Copied: perlbrew/repos/community-staging-any/PKGBUILD (from rev 470549, perlbrew/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:55:50 UTC (rev 470550)
@@ -0,0 +1,32 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perlbrew
+pkgver=0.86
+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=("http://search.cpan.org/CPAN/authors/id/G/GU/GUGOD/App-perlbrew-$pkgver.tar.gz")
+sha1sums=('521962b3a9016ab35a23c34625d01f548b052107')
+
+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