aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-10-15 14:56:51 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-10-15 18:00:50 +0000
commitedb5939afb3c41aa5cde164a9d46d7f9f3d1cedb (patch)
tree849adb2b2903d780cb21734955da2f19ce13e699
parent1d8e627b291fdc8a93612498d1cd1bd937475d3a (diff)
downloadaports-edb5939afb3c41aa5cde164a9d46d7f9f3d1cedb.tar.gz
aports-edb5939afb3c41aa5cde164a9d46d7f9f3d1cedb.tar.bz2
aports-edb5939afb3c41aa5cde164a9d46d7f9f3d1cedb.tar.xz
main/perl-xml-rss: upgrade to 1.62
-rw-r--r--main/perl-xml-rss/APKBUILD30
1 files changed, 12 insertions, 18 deletions
diff --git a/main/perl-xml-rss/APKBUILD b/main/perl-xml-rss/APKBUILD
index 6454605957..7ceff98601 100644
--- a/main/perl-xml-rss/APKBUILD
+++ b/main/perl-xml-rss/APKBUILD
@@ -1,40 +1,34 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-xml-rss
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=XML-RSS
-pkgver=1.61
-pkgrel=1
+pkgver=1.62
+pkgrel=0
pkgdesc="creates and updates RSS files"
-url="https://metacpan.org/release/XML-RSS"
+url="https://metacpan.org/release/XML-RSS/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
-cpandepends="perl-xml-parser perl-html-parser perl-datetime-format-mail
- perl-datetime-format-w3cdtf perl-datetime"
-cpanmakedepends="perl-test-manifest"
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+depends="perl perl-datetime-format-w3cdtf perl-xml-parser perl-html-parser perl-datetime-format-mail"
+makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/XML-RSS-$pkgver.tar.gz"
-
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
- make
+ perl Build.PL --installdirs=vendor
+ ./Build
}
check() {
- cd "$builddir"
- make test
+ ./Build test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ ./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="320b1a26d88f0db4861e1eb701a34110362293b24861e804a5be7c77be58c7f41730b67462c391edf50cd27444e2b86a8e4d8013dacd64578cb30cfd48f79c8b XML-RSS-1.61.tar.gz"
+sha512sums="fc075e7b7ccd168c3a915170adcf63cc84cb0e465f9c88b52800c747f8363719b60e1606ce77bc910915d9b0fd1838ae4e93f1699389e08a51836f87b03bbfd5 XML-RSS-1.62.tar.gz"