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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 11:56:04 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:56:03
  Author: foutrelis
Revision: 366585

archrelease: copy trunk to community-staging-any

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

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

Copied: perlbrew/repos/community-staging-any/PKGBUILD (from rev 366584, perlbrew/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 11:56:03 UTC (rev 366585)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perlbrew
+pkgver=0.84
+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=('502d59dee497fa75f5cdc5af958ce671a672c953')
+
+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