mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 12:06:41 +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
42 lines
1.2 KiB
Text
42 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-xml-parser-style-easytree
|
|
pkgver=0.09
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=XML-Parser-Style-EasyTree
|
|
pkgdesc="Parse XML to simple tree"
|
|
url="https://metacpan.org/release/XML-Parser-Style-EasyTree/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-xml-parser"
|
|
checkdepends="perl-lib-abs"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/M/MO/MONS/XML-Parser-Style-EasyTree-$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
|
|
|
|
cd "$pkgdir"
|
|
rm -v usr/share/perl5/vendor_perl/XML/Parser/Style/cpants.pl
|
|
}
|
|
|
|
sha512sums="
|
|
475a3a0dab4dfcce5300ca376ab6d7e2c2144a970a673824127c86bcf34e93714ed2233951f5108f26d4007a4404c8572e30739e7f37f4dc3681a5b68e5c6c34 XML-Parser-Style-EasyTree-0.09.tar.gz
|
|
"
|