mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-xml-feed
|
|
pkgver=0.65
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=XML-Feed
|
|
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="
|
|
ee3dbbefa812ff6757280c36ee39484f9e972880ba908947eae155417152a5dcc0106097434786935ffefe7d1288d6ef95d51562534ef0746b82d985a53cce28 XML-Feed-0.65.tar.gz
|
|
"
|