user/perl-locale-gettext: in community
This commit is contained in:
parent
eb541348de
commit
d79cbda483
1 changed files with 0 additions and 46 deletions
|
@ -1,46 +0,0 @@
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
||||||
|
|
||||||
pkgname=perl-locale-gettext
|
|
||||||
_pkgname=Locale-gettext
|
|
||||||
pkgver=1.07
|
|
||||||
pkgrel=0
|
|
||||||
license="Artistic-1.0-Perl OR GPL-1.0-or-later"
|
|
||||||
pkgdesc="Permits access from Perl to the gettext() family of functions"
|
|
||||||
arch="all"
|
|
||||||
url="https://search.cpan.org/dist/$_pkgname/"
|
|
||||||
depends="
|
|
||||||
perl
|
|
||||||
gettext
|
|
||||||
"
|
|
||||||
makedepends="
|
|
||||||
gettext-dev
|
|
||||||
perl-dev
|
|
||||||
"
|
|
||||||
checkdepends="
|
|
||||||
musl-locales
|
|
||||||
"
|
|
||||||
options="!check" # failing test units
|
|
||||||
source="https://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/$_pkgname-$pkgver.tar.gz"
|
|
||||||
subpackages="$pkgname-doc"
|
|
||||||
builddir="$srcdir"/$_pkgname-$pkgver
|
|
||||||
|
|
||||||
build() {
|
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
make test
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
make install DESTDIR="$pkgdir"
|
|
||||||
|
|
||||||
# otherwise perl breaks
|
|
||||||
find "$pkgdir" \( -name '.packlist' -or -name '*.pod' \) -exec rm '{}' +
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
d3716a597d586ee2ff29472ca7b13aaf67770299de31e5f12abafebc879bbe4a1e1dbc0025cf4f3dc29992955f26cffc3be387d974c3911af095d5b49e67a1c6 Locale-gettext-1.07.tar.gz
|
|
||||||
"
|
|
Loading…
Reference in a new issue