1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

testing/perl-text-german: new aport

This commit is contained in:
Wen Heping 2025-06-07 00:53:20 +00:00
parent 3a97622923
commit bf79337367

View file

@ -0,0 +1,37 @@
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
pkgname=perl-text-german
pkgver=0.06
pkgrel=0
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Text-German
pkgdesc="Perl module for Text-German"
url="https://metacpan.org/release/Text-German/"
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/U/UL/ULPFR/Text-German-$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="
cc53aed9f40efbbd4c92487be19757688d944d0ad055e1cfad5c1859eb93e44755aabc5d665e9efb20ffdae40a299711f47d9255c267c9bd8d9f3de10631e8bb Text-German-0.06.tar.gz
"