From 5c443b0e069847b401663662a2154dc8ace103c8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 2 Oct 2018 04:57:17 +0000 Subject: user/perl-time-duration-parse: new package --- user/perl-time-duration-parse/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-time-duration-parse/APKBUILD (limited to 'user') diff --git a/user/perl-time-duration-parse/APKBUILD b/user/perl-time-duration-parse/APKBUILD new file mode 100644 index 000000000..22fbfbe7e --- /dev/null +++ b/user/perl-time-duration-parse/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-time-duration-parse +pkgver=0.14 +pkgrel=0 +pkgdesc="Parse strings in Perl that represent time durations" +url="https://metacpan.org/release/Time-Duration-Parse" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-exporter-lite perl-time-duration" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Time-Duration-Parse-$pkgver.tar.gz" +builddir="$srcdir/Time-Duration-Parse-$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="49dcb7d3979df7e84141ebf9262b2283dfe535502b71633d95424376146d81bbf5d6932035dde878a5b1bef265d84a029412ff0187927569cf48ad193ea2f8e3 Time-Duration-Parse-0.14.tar.gz" -- cgit v1.2.3-70-g09d2