diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
commit | 9297468fa579836e3a6a381b798feb6b78217c2d (patch) | |
tree | 53168212f427afbcf0693b534530a4af803152e9 /user/perl-string-trim-more/APKBUILD | |
parent | a63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff) | |
parent | da5a69b65a8791fffa6e93366ee585f87eff136d (diff) | |
download | packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2 packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip |
Merge branch 'master' into zfs
Diffstat (limited to 'user/perl-string-trim-more/APKBUILD')
-rw-r--r-- | user/perl-string-trim-more/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-string-trim-more/APKBUILD b/user/perl-string-trim-more/APKBUILD new file mode 100644 index 000000000..ec5b2f896 --- /dev/null +++ b/user/perl-string-trim-more/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-string-trim-more +_pkgreal=String-Trim-More +_author=PERLANCAR +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.03 +pkgrel=0 +pkgdesc="Perl utilities for trimming strings" +url="https://metacpan.org/pod/String::Trim::More" +arch="noarch" +license="Artistic-2.0 OR GPL-2.0-only" +depends="perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/String-Trim-More-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="b9c1613bfe736f24b875bd1aaed485d0902ffa7f0e2a8ca65e8e735a37c32199008fca7de6dac5e37cb4aacbee8bf12f61731e0868dddea18620f471548c1493 String-Trim-More-0.03.tar.gz" |