aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/perl-time-parsedate/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/testing/perl-time-parsedate/APKBUILD b/testing/perl-time-parsedate/APKBUILD
index 4b7102a899..fceb7162bc 100644
--- a/testing/perl-time-parsedate/APKBUILD
+++ b/testing/perl-time-parsedate/APKBUILD
@@ -4,11 +4,11 @@
pkgname=perl-time-parsedate
_pkgreal=Time-ParseDate
pkgver=2015.103
-pkgrel=1
+pkgrel=2
pkgdesc="Parse and format time values"
url="https://metacpan.org/release/Time-ParseDate/"
arch="noarch"
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later Artistic-1.0-Perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MU/MUIR/modules/Time-ParseDate-$pkgver.tar.gz"
@@ -16,20 +16,17 @@ builddir="$srcdir/$_pkgreal-$pkgver"
replaces=perl-time-modules
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}