mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
testing/perl-xml-tidy: new aport
This commit is contained in:
parent
2e0429705b
commit
22e5bef521
1 changed files with 37 additions and 0 deletions
37
testing/perl-xml-tidy/APKBUILD
Normal file
37
testing/perl-xml-tidy/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Automatically generated by apkbuild-cpan, template 2
|
||||
# Contributor: Timothy Legge <timlegge@gmail.com>
|
||||
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
||||
pkgname=perl-xml-tidy
|
||||
_pkgreal=XML-Tidy
|
||||
pkgver=1.20
|
||||
pkgrel=0
|
||||
pkgdesc="tidy indenting of XML documents"
|
||||
url="https://metacpan.org/release/XML-Tidy/"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-only"
|
||||
cpandepends="perl-xml-xpath perl-math-basecnv"
|
||||
cpanmakedepends="perl-test-pod perl-test-pod-coverage"
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev $cpanmakedepends"
|
||||
checkdepends="$cpancheckdepends"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/P/PI/PIP/XML-Tidy-$pkgver.tgz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="41f2578932d7452c67f2aacee9e3600ec702178d239b46ed44e71b7ecbe4ab231ee8ccff17c671ce2de3792adc565d78d64db25f0d1bb2c7f83d50b6be04d218 XML-Tidy-1.20.tgz"
|
Loading…
Add table
Add a link
Reference in a new issue