summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 18:10:17 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 18:10:17 -0500
commitaaeb7ad04abb5e78259653998cf8fff52b0f7631 (patch)
tree567817c11378abfe08dabaaa4dc572e86fbbd08d /user
parent0ac1f672329855a4d094e9191961d646a5f375af (diff)
downloadpackages-aaeb7ad04abb5e78259653998cf8fff52b0f7631.tar.gz
packages-aaeb7ad04abb5e78259653998cf8fff52b0f7631.tar.bz2
packages-aaeb7ad04abb5e78259653998cf8fff52b0f7631.tar.xz
packages-aaeb7ad04abb5e78259653998cf8fff52b0f7631.zip
user/perl-test-more-utf8: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-test-more-utf8/APKBUILD33
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"