From aaeb7ad04abb5e78259653998cf8fff52b0f7631 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 26 Apr 2019 18:10:17 -0500 Subject: user/perl-test-more-utf8: new package --- user/perl-test-more-utf8/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-test-more-utf8/APKBUILD (limited to 'user/perl-test-more-utf8/APKBUILD') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2