mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/perl-html-formatexternal: new aport
This commit is contained in:
parent
bd63f78d12
commit
9c65c2455c
1 changed files with 37 additions and 0 deletions
37
testing/perl-html-formatexternal/APKBUILD
Normal file
37
testing/perl-html-formatexternal/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||
pkgname=perl-html-formatexternal
|
||||
pkgver=26
|
||||
pkgrel=0
|
||||
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=HTML-FormatExternal
|
||||
pkgdesc="HTML to text formatting using external programs"
|
||||
url="https://metacpan.org/release/HTML-FormatExternal/"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-only"
|
||||
depends="perl perl-ipc-run perl-uri perl-constant-defer"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/K/KR/KRYDE/HTML-FormatExternal-$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
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8b052d8b6e3af27a572583d3ac44edc49b743c4a3dfe4d3f063764cb4ed959d055275a037e08aee2b5c981a524c8c5040d9ebed1a51093e5274c567dbc6d6945 HTML-FormatExternal-26.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue