* update perl-locale-gettext to 1.07-15.2

This commit is contained in:
Alexander Baldeck 2025-03-13 09:10:53 +01:00
parent d5de1b32c0
commit e9f60d880c
2 changed files with 12 additions and 2 deletions

View File

@ -1,9 +1,13 @@
pkgbase = perl-locale-gettext
pkgdesc = Permits access from Perl to the gettext() family of functions
pkgver = 1.07
pkgrel = 15
pkgrel = 15.2
url = https://search.cpan.org/dist/Locale-gettext/
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = GPL
license = PerlArtistic
depends = gettext

View File

@ -6,7 +6,7 @@
pkgname=perl-locale-gettext
_realname=Locale-gettext
pkgver=1.07
pkgrel=15.1
pkgrel=15.2
pkgdesc="Permits access from Perl to the gettext() family of functions"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('GPL' 'PerlArtistic')
@ -19,6 +19,12 @@ sha256sums=('909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
case "${CARCH}" in
powerpc64le)
export CFLAGS="-O2 -pipe -march=generic"
;;
esac
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make