diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-04-01 13:32:59 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-04-01 13:32:59 +0000 |
commit | 03791f0b58b82299a7d15bd712b27c8b1909f953 (patch) | |
tree | 429edf0dbd18fbd81e4e2dc57ad4f106ec78bb2f /community/perl-time-local/APKBUILD | |
parent | 5ad2076f17d43890fea8d04c27ab2d200017b098 (diff) | |
download | aports-03791f0b58b82299a7d15bd712b27c8b1909f953.tar.bz2 aports-03791f0b58b82299a7d15bd712b27c8b1909f953.tar.xz |
community/perl-time-local: moved from testing
Diffstat (limited to 'community/perl-time-local/APKBUILD')
-rw-r--r-- | community/perl-time-local/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/perl-time-local/APKBUILD b/community/perl-time-local/APKBUILD new file mode 100644 index 0000000000..e7c306b48e --- /dev/null +++ b/community/perl-time-local/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-time-local +_pkgreal=Time-Local +pkgver=1.25 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Time-Local/" +arch="noarch" +license="GPL PerlArtistic" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +doc() { + default_doc + replaces="perl-doc" +} +sha512sums="7c21fd0d699bf139aebb5b252f1c37eed20ae78bbfd145390a97a08879121a242dbee0d81a405e634b15ffcbb640b4030c700b1b9cf11e98e474bd57c23f4c8a Time-Local-1.25.tar.gz" |