diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-26 01:03:09 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-26 01:03:09 -0700 |
commit | 9f0fb094ed4d7a2a6151f522753181dde7d1705a (patch) | |
tree | fa814f5d0c8c22381ea557043612fb23f18948dd /user/perl-test-utf8/APKBUILD | |
parent | 698f4ca03523b4ae7ea3e96b6ba1bd69e3da25ee (diff) | |
download | packages-9f0fb094ed4d7a2a6151f522753181dde7d1705a.tar.gz packages-9f0fb094ed4d7a2a6151f522753181dde7d1705a.tar.bz2 packages-9f0fb094ed4d7a2a6151f522753181dde7d1705a.tar.xz packages-9f0fb094ed4d7a2a6151f522753181dde7d1705a.zip |
user/perl-test-utf8: new package
Diffstat (limited to 'user/perl-test-utf8/APKBUILD')
-rw-r--r-- | user/perl-test-utf8/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-utf8/APKBUILD b/user/perl-test-utf8/APKBUILD new file mode 100644 index 000000000..ee562a170 --- /dev/null +++ b/user/perl-test-utf8/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-utf8 +pkgver=1.01 +pkgrel=0 +pkgdesc="Handy UTF8 tests" +url="https://metacpan.org/pod/Test::utf8" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl" +makedepends="perl-dev perl-module-install" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MA/MARKF/Test-utf8-$pkgver.tar.gz" +builddir="$srcdir/Test-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="07dcd5ed98a63f7d96bb0fc629b168773d02bb4c93c5bc44ec60738fc29669794547dfde5913f9de682cd583cf85f4d82b6151398aaebcfec9278525447b9c4e Test-utf8-1.01.tar.gz" |