aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-01-11 07:53:54 +0000
committerCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-01-14 14:52:52 +0000
commit330fcfa0230e1df40e0e0c468dd2de0012a07a03 (patch)
tree11f9f4c9085e761abb60a741349df398e2b1995f
parent9602324cfbf6bf64b9e4c6b80c2a69f23c217146 (diff)
testing/perl-feed-find: new aport
https://metacpan.org/release/Feed-Find/ Syndication feed auto-discovery
-rw-r--r--testing/perl-feed-find/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-feed-find/APKBUILD b/testing/perl-feed-find/APKBUILD
new file mode 100644
index 00000000000..87081989f0b
--- /dev/null
+++ b/testing/perl-feed-find/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 4
+# Contributor: Celeste <cielesti@protonmail.com>
+# Maintainer: Celeste <cielesti@protonmail.com>
+pkgname=perl-feed-find
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=Feed-Find
+pkgver=0.13
+pkgrel=0
+pkgdesc="Syndication feed auto-discovery"
+url="https://metacpan.org/release/Feed-Find/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-class-errorhandler perl-html-parser perl-libwww perl-uri"
+checkdepends="perl-test-lwp-useragent"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DA/DAVECROSS/Feed-Find-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
+ INSTALLDIRS=vendor \
+ NO_PACKLIST=1 \
+ NO_PERLLOCAL=1
+ make
+}
+
+check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="
+436438c361a7c228af8c5d31200f75b3eab8dded20040d9cd019384df28bd2348ca8c2f8f6cc3ae4b6dee90afba7c8ed911016fd4f8da46cfe8ffccf52eecd18 Feed-Find-0.13.tar.gz
+"