aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-01-11 07:53:58 +0000
committerCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-01-14 14:52:54 +0000
commitc17c51e99d8ae5b70fb5833c03de013230b1b966 (patch)
tree6446919dcc39a69dbe5fbc77125e1d938919cc98
parent14b68c6e292d18a65b4ff2455dc68552662c6e21 (diff)
testing/perl-xml-feed: new aport
https://metacpan.org/release/XML-Feed/ XML Syndication Feed Support
-rw-r--r--testing/perl-xml-feed/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/perl-xml-feed/APKBUILD b/testing/perl-xml-feed/APKBUILD
new file mode 100644
index 00000000000..823df7e6948
--- /dev/null
+++ b/testing/perl-xml-feed/APKBUILD
@@ -0,0 +1,45 @@
+# Automatically generated by apkbuild-cpan, template 4
+# Contributor: Celeste <cielesti@protonmail.com>
+# Maintainer: Celeste <cielesti@protonmail.com>
+pkgname=perl-xml-feed
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=XML-Feed
+pkgver=0.63
+pkgrel=0
+pkgdesc="XML Syndication Feed Support"
+url="https://metacpan.org/release/XML-Feed/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="
+ perl perl-class-errorhandler perl-datetime
+ perl-datetime-format-flexible perl-datetime-format-iso8601
+ perl-datetime-format-mail perl-datetime-format-natural
+ perl-datetime-format-w3cdtf perl-feed-find perl-html-parser
+ perl-libwww perl-module-pluggable perl-uri-fetch
+ perl-xml-atom perl-xml-libxml perl-xml-rss
+ "
+makedepends="perl-module-build"
+checkdepends="perl-uri perl-xml-xpath"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DA/DAVECROSS/XML-Feed-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ perl Build.PL \
+ --installdirs=vendor \
+ --create_packlist=0
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install --destdir="$pkgdir"
+}
+
+sha512sums="
+3c624e71194ef263f0e1105407dc9a9bf5946a6e4964eb4b6ce96427a088db22a4f4821add5beb4602353a8d49883d1f6560ea50256354f3f8e2c1593b45e010 XML-Feed-0.63.tar.gz
+"