diff options
Diffstat (limited to 'user/perl-test-more-utf8')
-rw-r--r-- | user/perl-test-more-utf8/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-test-more-utf8/APKBUILD b/user/perl-test-more-utf8/APKBUILD new file mode 100644 index 000000000..54d63ff40 --- /dev/null +++ b/user/perl-test-more-utf8/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-more-utf8 +pkgver=0.05 +pkgrel=0 +pkgdesc="UTF-8 extensions for Perl Test::More module" +url="https://metacpan.org/pod/Test::More::UTF8" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl" +makedepends="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MO/MONS/Test-More-UTF8-$pkgver.tar.gz" +builddir="$srcdir/Test-More-UTF8-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="9a1ba4216037aa1517ef57b2e5a40bd78f2f3aaaff3683a4e45f10d4b574b5e2752509a5620d8a76156135b4fa7182320a182a5a6900bf450979d805d7dc05a3 Test-More-UTF8-0.05.tar.gz" |