[arch-commits] Commit in perl-string-util/repos (community-any community-any/PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Fri Jul 12 14:48:08 UTC 2019


    Date: Friday, July 12, 2019 @ 14:48:08
  Author: spupykin
Revision: 489142

archrelease: copy trunk to community-any

Added:
  perl-string-util/repos/community-any/
  perl-string-util/repos/community-any/PKGBUILD
    (from rev 489141, perl-string-util/trunk/PKGBUILD)

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

Copied: perl-string-util/repos/community-any/PKGBUILD (from rev 489141, perl-string-util/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-07-12 14:48:08 UTC (rev 489142)
@@ -0,0 +1,37 @@
+# $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=()
+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
+}
+
+package() {
+  cd "$srcdir/$_distdir"
+  make install
+
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}


More information about the arch-commits mailing list