summaryrefslogblamecommitdiff
path: root/user/perl-test-more-utf8/APKBUILD
blob: aaaddc2981c39ca80b89142094b0ec3441b6b544 (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                               








                                                     

                                                                                        

         




                                                                 



                 




                                                                                                                                                                         
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-more-utf8
_pkgreal=Test-More-UTF8
_author=MONS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="9a1ba4216037aa1517ef57b2e5a40bd78f2f3aaaff3683a4e45f10d4b574b5e2752509a5620d8a76156135b4fa7182320a182a5a6900bf450979d805d7dc05a3  Test-More-UTF8-0.05.tar.gz"