mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 18:36:42 +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
44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-xml-bare
|
|
pkgver=0.53
|
|
pkgrel=13
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=XML-Bare
|
|
pkgdesc="Minimal XML parser / schema checker / pretty-printer using C internally"
|
|
url="https://metacpan.org/release/XML-Bare/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
makedepends="perl-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/C/CO/CODECHILD/XML-Bare-$pkgver.tar.gz
|
|
implicit_declaration_of_free.patch
|
|
pointer_from_integer.patch
|
|
"
|
|
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="
|
|
e765206e5c98ed3a0c29be3a323e25beaa712489d0461e2e7269f5f3383fa805ba3829a9ed4d31cd86f35400c321f8cf519162cc41f52f8ba6992c7016f63520 XML-Bare-0.53.tar.gz
|
|
7804264042f40fcbb95f485c9b6f73a2be49ed1935a94603ca50b04e76ad4ad5b16b0a500ef0de2d1ceb4a5686080ad5c1bae10275757c2e7e84bac102f4a94d implicit_declaration_of_free.patch
|
|
7de75f3d7622507dc30c5d9b8af7bae67ba4f87bb44c0ff1ac02d206508e1a8bf84e81e10b3beef42d4ddfb4d3c5ba84d2638709160770cd186bea900cd3d64f pointer_from_integer.patch
|
|
"
|