[arch-commits] Commit in (8 files)

Sergej Pupykin spupykin at archlinux.org
Fri Jul 12 14:41:39 UTC 2019


    Date: Friday, July 12, 2019 @ 14:41:38
  Author: spupykin
Revision: 489136

add perl-json-parse and perl-string-util

Added:
  perl-json-parse/
  perl-json-parse/repos/
  perl-json-parse/trunk/
  perl-json-parse/trunk/PKGBUILD
  perl-string-util/
  perl-string-util/repos/
  perl-string-util/trunk/
  perl-string-util/trunk/PKGBUILD

---------------------------------+
 perl-json-parse/trunk/PKGBUILD  |   27 +++++++++++++++++++++++
 perl-string-util/trunk/PKGBUILD |   43 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Added: perl-json-parse/trunk/PKGBUILD
===================================================================
--- perl-json-parse/trunk/PKGBUILD	                        (rev 0)
+++ perl-json-parse/trunk/PKGBUILD	2019-07-12 14:41:38 UTC (rev 489136)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+
+pkgname=perl-json-parse
+pkgver=0.55
+pkgrel=1
+pkgdesc="JSON::Parse - Read JSON into a Perl variable"
+arch=('any')
+url="https://metacpan.org/release/JSON-Parse"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=('!emptydirs')
+source=(https://cpan.metacpan.org/authors/id/B/BK/BKB/JSON-Parse-$pkgver.tar.gz)
+sha256sums=('dc9856dbc355114bcb0dc036bb632976b19b88d3a7ad59726f1fa917e7f5d256')
+
+build() {
+  cd  "$srcdir"/JSON-Parse-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/JSON-Parse-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}


Property changes on: perl-json-parse/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: perl-string-util/trunk/PKGBUILD
===================================================================
--- perl-string-util/trunk/PKGBUILD	                        (rev 0)
+++ perl-string-util/trunk/PKGBUILD	2019-07-12 14:41:38 UTC (rev 489136)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Previous Maintainer: Dirk Langer <dirk.langer at vvovgonik.de>
+
+pkgname='perl-string-util'
+pkgver='1.26'
+pkgrel='1'
+pkgdesc="String processing utilities"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-number-misc')
+makedepends=()
+checkdepends=('perl-test-toolbox')
+url='https://metacpan.org/release/String-Util'
+source=("https://cpan.metacpan.org/authors/id/M/MI/MIKO/String-Util-$pkgver.tar.gz")
+md5sums=('d0f13f8688bedef7174634bb57f7fbe4')
+sha512sums=('27f4d9a36814695ca2123473f073577cc4ab31c0c1f9feccff8b9af0324c697df45efde981d638ed407521bb8348cf5512ebe1c9a5bfd5149df17b12014ed808')
+_distdir="String-Util-$pkgver"
+
+build() {
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                   \
+      PERL_AUTOINSTALL=--skipdeps                            \
+      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
+      PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+      MODULEBUILDRC=/dev/null
+
+  cd "$srcdir/$_distdir"
+  /usr/bin/perl Makefile.PL
+  make
+}
+
+check() {
+  cd "$srcdir/$_distdir"
+  make test
+}
+
+package() {
+  cd "$srcdir/$_distdir"
+  make install
+
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}


Property changes on: perl-string-util/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list