aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-15 18:32:46 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-16 06:16:05 -0300
commitef0eda2afa081266395734f15b98788338aeb797 (patch)
tree8aa341711b51994c32bd017234ecc239ada54435
parentf7c2cc9d618f3f250ad811d90ccd6e747e1551dc (diff)
downloadaports-ef0eda2afa081266395734f15b98788338aeb797.tar.bz2
aports-ef0eda2afa081266395734f15b98788338aeb797.tar.xz
community/perl-data-ical: upgrade to 0.23
-rw-r--r--community/perl-data-ical/APKBUILD26
1 files changed, 11 insertions, 15 deletions
diff --git a/community/perl-data-ical/APKBUILD b/community/perl-data-ical/APKBUILD
index 9d616036a4..979b884ff3 100644
--- a/community/perl-data-ical/APKBUILD
+++ b/community/perl-data-ical/APKBUILD
@@ -3,43 +3,39 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-data-ical
_pkgreal=Data-ICal
-pkgver=0.22
-pkgrel=1
+pkgver=0.23
+pkgrel=0
pkgdesc="Generates iCalendar (RFC 2445) calendar files"
-url="http://search.cpan.org/dist/Data-ICal/"
+url="https://metacpan.org/release/Data-ICal"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends="perl-test-nowarnings perl-test-warn perl-text-vfile-asdata perl-class-returnvalue perl-test-longstring perl-class-accessor perl-file-slurp"
-cpanmakedepends=""
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+cpandepends="perl-test-nowarnings perl-test-warn perl-text-vfile-asdata
+ perl-class-returnvalue perl-test-longstring perl-class-accessor perl-file-slurp"
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends perl-module-install"
+makedepends="perl-dev perl-module-install"
checkdepends="perl-pod-coverage"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/Data-ICal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/B/BP/BPS/Data-ICal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="a02364dfb0a1e24efcf2efdb7240bb6c47ad5ed3a99ada51ddb9817b4e433038d57113699c6875f7d592cd3af46f5b074a1ac50cf951b7af449bde1765ed5d55 Data-ICal-0.22.tar.gz"
+sha512sums="dc99cacc7fcd9fab9ae8365ab141d381678ff07feb5e0ce3f2baa924040aa0dd9f9f493692e5709493398eeb9755a06567e0eb1c1ac621e22bfad824b10c67b3 Data-ICal-0.23.tar.gz"