upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-string-util / trunk / PKGBUILD
blob1f959e90970c973832eab8577f24d8eb386db585
1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
2 # Previous Maintainer: Dirk Langer <dirk.langer@vvovgonik.de>
4 pkgname='perl-string-util'
5 pkgver=1.34
6 pkgrel=1
7 pkgdesc="String processing utilities"
8 arch=('any')
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"
19 build() {
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
23   perl Build.PL
24   ./Build
27 package() {
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