1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00

testing/perl-lingua-stem-fr: new aport

This commit is contained in:
Wen Heping 2025-06-06 12:08:33 +00:00
parent 2038cd9cca
commit f5c0fa9e4c

View file

@ -0,0 +1,37 @@
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
pkgname=perl-lingua-stem-fr
pkgver=0.02
pkgrel=0
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Lingua-Stem-Fr
pkgdesc="Perl module for Lingua-Stem-Fr"
url="https://metacpan.org/release/Lingua-Stem-Fr/"
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/S/SD/SDP/Lingua-Stem-Fr-$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="
e0709c19f4a0f2ef79f459c05e2207e0b263859e913ab722701827b4ff391b50dd41e7e3a3e16600a61f8c7e1ed557111abc36965b58fbf28ed06f9bedc09cf4 Lingua-Stem-Fr-0.02.tar.gz
"