diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-26 01:03:57 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-26 01:03:57 -0700 |
commit | a376c4d74c1c3ded56f3f83e6b31d88fca8836a3 (patch) | |
tree | 42100d00b89ce91847bf0a75e1f0ae0060d7a379 /user | |
parent | 9f0fb094ed4d7a2a6151f522753181dde7d1705a (diff) | |
download | packages-a376c4d74c1c3ded56f3f83e6b31d88fca8836a3.tar.gz packages-a376c4d74c1c3ded56f3f83e6b31d88fca8836a3.tar.bz2 packages-a376c4d74c1c3ded56f3f83e6b31d88fca8836a3.tar.xz packages-a376c4d74c1c3ded56f3f83e6b31d88fca8836a3.zip |
user/perl-test-file: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-test-file/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-test-file/APKBUILD b/user/perl-test-file/APKBUILD new file mode 100644 index 000000000..947598ca1 --- /dev/null +++ b/user/perl-test-file/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-file +pkgver=1.443 +pkgrel=0 +pkgdesc="Test file attributes" +url="https://metacpan.org/pod/Test::File" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl" +makedepends="perl-dev" +checkdepends="perl-test-pod perl-test-pod-coverage perl-test-utf8" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-File-$pkgver.tar.gz" +builddir="$srcdir/Test-File-$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="9ad66b3a9dc1c3752a4ec22934db9139ac010ac3237a3de018d4ec4a65ac047f0152ab9e7979a2615412c1af02a1f2dfa0dbfdf5eba5358628b1b443232c45b2 Test-File-1.443.tar.gz" |