[arch-commits] Commit in perl-string-util/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 29 10:19:03 UTC 2022
Date: Sunday, May 29, 2022 @ 10:19:02
Author: felixonmars
Revision: 1214139
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 1214137, perl-string-util/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: perl-string-util/repos/community-staging-any/PKGBUILD (from rev 1214137, perl-string-util/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2022-05-29 10:19:02 UTC (rev 1214139)
@@ -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=5
+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