aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-date-format
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-02-01 17:28:38 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-01 18:48:45 +0100
commitc0ff8a08f42ed4c52451d21ab997298b95563e5b (patch)
tree884894faf0653ece64699e206a2112c3fad2b722 /main/perl-date-format
parentb5b32823e7aaadfd5abff04ebc692ef61f535527 (diff)
downloadaports-c0ff8a08f42ed4c52451d21ab997298b95563e5b.tar.bz2
aports-c0ff8a08f42ed4c52451d21ab997298b95563e5b.tar.xz
main/perl-date-format: upgrade to 2.31
Diffstat (limited to 'main/perl-date-format')
-rw-r--r--main/perl-date-format/APKBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/main/perl-date-format/APKBUILD b/main/perl-date-format/APKBUILD
index 4d824c0a70..c611bf3068 100644
--- a/main/perl-date-format/APKBUILD
+++ b/main/perl-date-format/APKBUILD
@@ -2,35 +2,32 @@
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=perl-date-format
_realname=TimeDate
-pkgver=2.30
+pkgver=2.31
pkgrel=0
pkgdesc="Perl - Date formating subroutines"
-url="http://search.cpan.org/~gbarr/$_realname-$pkgver/"
+url="https://metacpan.org/release/TimeDate"
arch="noarch"
-license="Artistic GPL"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/$_realname-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
build() {
- cd "$builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
-sha512sums="c6aa7d57fbe82260c7455f74f6dfda55f7c93d7a75914bafb9d09ebfb83b5f57f6bc1e332ab0764d7688d857eb022b0f5e92cf5b685d809c63cdfa93a8d2c221 TimeDate-2.30.tar.gz"
+sha512sums="abee40d77ce4a57e251575b450406b1d26ac369d05899c1630f996b6f3c0c5ac222b84ff04d6fdf4c0763eb0a5bc45a59edadcfb15c73982787c8c17e0ee2a2a TimeDate-2.31.tar.gz"