Date: Saturday, August 26, 2017 @ 18:27:28
  Author: foutrelis
Revision: 254285

archrelease: copy trunk to community-staging-any

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

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

Copied: perlbrew/repos/community-staging-any/PKGBUILD (from rev 254284, 
perlbrew/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2017-08-26 18:27:28 UTC (rev 254285)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+
+pkgname=perlbrew
+pkgver=0.78
+pkgrel=3
+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')
+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=('5996b932c2968faafaba784193c803457091065a')
+
+build() {
+  cd App-perlbrew-$pkgver
+  PERL_USE_UNSAFE_INC=1 \
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd App-perlbrew-$pkgver
+#  make test
+}
+
+package() {
+  cd App-perlbrew-$pkgver
+  make install DESTDIR="$pkgdir"
+  install -D -m 644 LICENSE "$pkgdir"/usr/share/licenses/perlbrew/LICENSE
+}

Reply via email to