[arch-commits] Commit in perl-string-util/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 08:42:46 UTC 2021


    Date: Monday, May 24, 2021 @ 08:42:46
  Author: felixonmars
Revision: 944084

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-string-util/repos/community-staging-any/PKGBUILD (from rev 944081, perl-string-util/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:42:46 UTC (rev 944084)
@@ -0,0 +1,36 @@
+# 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=4
+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