diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 04:57:17 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 04:57:17 +0000 |
commit | 5c443b0e069847b401663662a2154dc8ace103c8 (patch) | |
tree | 0bbaf1269297f15dd51d9773d687629fccc65c32 /user | |
parent | ff18d73e2f4b7d4a0a0fd81351f6f77d5baaa708 (diff) | |
download | packages-5c443b0e069847b401663662a2154dc8ace103c8.tar.gz packages-5c443b0e069847b401663662a2154dc8ace103c8.tar.bz2 packages-5c443b0e069847b401663662a2154dc8ace103c8.tar.xz packages-5c443b0e069847b401663662a2154dc8ace103c8.zip |
user/perl-time-duration-parse: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-time-duration-parse/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +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" |