aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-01-11 07:53:56 +0000
committerCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-01-14 14:52:53 +0000
commit9574401a1ec6a94d4b86c0e0c9c56001a215ed8f (patch)
treebfb4313f44070192ad0c7a1187c05f77f012adc4
parente10e35bd0cab4159b3d6d18275ec52ed8587ff39 (diff)
testing/perl-xml-atom: new aport
https://metacpan.org/release/XML-Atom/ Atom feed and API implementation
-rw-r--r--testing/perl-xml-atom/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/perl-xml-atom/APKBUILD b/testing/perl-xml-atom/APKBUILD
new file mode 100644
index 00000000000..ee6a3f21c75
--- /dev/null
+++ b/testing/perl-xml-atom/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 4
+# Contributor: Celeste <cielesti@protonmail.com>
+# Maintainer: Celeste <cielesti@protonmail.com>
+pkgname=perl-xml-atom
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=XML-Atom
+pkgver=0.43
+pkgrel=0
+pkgdesc="Atom feed and API implementation"
+url="https://metacpan.org/release/XML-Atom/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="
+ perl perl-class-data-inheritable perl-datetime
+ perl-datetime-format-atom perl-datetime-timezone
+ perl-html-parser perl-libwww perl-uri
+ perl-xml-libxml perl-xml-xpath
+ "
+makedepends="perl-module-build-tiny"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/XML-Atom-$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="
+408d0753d651da7ab4cc50d79b654e9f3680f17830a3fa36e0d1869a4e7aabb17aaf5132a91ff20f1144af09290f109fe7812baa61b23b5b89de384228649fd9 XML-Atom-0.43.tar.gz
+"