mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/perl-lingua-en-inflect-phrase: new aport
This commit is contained in:
parent
9809b5cbe4
commit
1569f2e414
1 changed files with 41 additions and 0 deletions
41
testing/perl-lingua-en-inflect-phrase/APKBUILD
Normal file
41
testing/perl-lingua-en-inflect-phrase/APKBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||
pkgname=perl-lingua-en-inflect-phrase
|
||||
pkgver=0.20
|
||||
pkgrel=0
|
||||
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Lingua-EN-Inflect-Phrase
|
||||
pkgdesc="Inflect short English Phrases"
|
||||
url="https://metacpan.org/release/Lingua-EN-Inflect-Phrase/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="
|
||||
perl perl-lingua-en-findnumber perl-lingua-en-inflect perl-lingua-en-inflect-number
|
||||
perl-lingua-en-number-isordinal perl-lingua-en-tagger
|
||||
"
|
||||
checkdepends="perl-test-nowarnings"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/R/RK/RKITOVER/Lingua-EN-Inflect-Phrase-$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="
|
||||
880e5e57580a0d178467700539f43029664a40a0b177a3b4fd8bd061db4082bc9618f15b26322ad1321d7fd21f09cb217a4f2bbf4badc72282d869a4e4ffcdc8 Lingua-EN-Inflect-Phrase-0.20.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue