1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
2 # Previous Maintainer: Dirk Langer <dirk.langer@vvovgonik.de>
4 pkgname='perl-string-util'
7 pkgdesc="String processing utilities"
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-number-misc')
12 makedepends=('perl-module-build-tiny')
13 url='https://metacpan.org/release/String-Util'
14 source=("https://cpan.metacpan.org/authors/id/B/BA/BAKERSCOT/String-Util-$pkgver.tar.gz")
15 md5sums=('6edd45bbf5f88587120de87b8cf92671')
16 sha512sums=('ab4ee4a8da9fd909a6d51a2e96eeea4ea50cf1e6eb741271aa6dc1d1d5fc8f1208f526059c6f774d4890f1a9b0f57e01c59d6f0380fe13382c54d7028e7c0ea1')
17 _distdir="String-Util-$pkgver"
20 cd String-Util-$pkgver
21 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
22 export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
28 cd String-Util-$pkgver
29 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
30 ./Build install --installdirs=vendor --destdir="$pkgdir"
31 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete