testing/perl-string-tagged: new aport

https://metacpan.org/release/String-Tagged/
String buffers with value tags on extents

Needed by testing/perl-tickit-widget-scroller
This commit is contained in:
Celeste 2023-10-13 06:07:29 +00:00 committed by Leonardo Arena
parent 40331b6044
commit cb2226aede

View File

@ -0,0 +1,37 @@
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-string-tagged
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=String-Tagged
pkgver=0.22
pkgrel=0
pkgdesc="String buffers with value tags on extents"
url="https://metacpan.org/release/String-Tagged/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-module-build"
checkdepends="perl-test2-suite"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/String-Tagged-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL --installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
09aaeabb0f2c59b970356023fbedd8111cafec8650bcb8af568b5c5f37dc864120581f2364bdd8d278bb7cce6d8630f331416253efd848b0dda57ca92d6920e5 String-Tagged-0.22.tar.gz
"