mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
testing/perl-xml-regexp: new aport
This commit is contained in:
parent
b445c6addd
commit
aa1c661c66
1 changed files with 36 additions and 0 deletions
36
testing/perl-xml-regexp/APKBUILD
Normal file
36
testing/perl-xml-regexp/APKBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Contributor: Timothy Legge <timlegge@gmail.com>
|
||||
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
||||
pkgname=perl-xml-regexp
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=XML-RegExp
|
||||
pkgver=0.04
|
||||
pkgrel=0
|
||||
pkgdesc="Perl module for XML-RegExp"
|
||||
url="https://metacpan.org/release/XML-RegExp/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-$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
|
||||
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="
|
||||
f0ade105a35944b7f91b85fb9e2735d4860eba04402a02e8531b546d8ea49990d9c2a56f113b4a291050fc8aa51eeee9675d49b4d9a69aa5da25fa7f3e3c9802 XML-RegExp-0.04.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue