blob: 6759f178e01dde49ca497d112db0c1839ab632b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-locale-codes
_pkgreal=Locale-Codes
pkgver=3.62
pkgrel=0
pkgdesc="a distribution of modules to handle locale codes"
url="https://metacpan.org/release/Locale-Codes/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
makedepends="perl-dev"
checkdepends="perl-file-find-rule perl-test-inter perl-test-pod perl-test-pod-coverage"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Locale-Codes-$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
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="94a45521637a6b2d3f42ccf3f996b40da264af532c4bdef3e6592e09fe21e3f31f3d146decfc94a5caf0b653dcca239ec4c657a82c7702677f69b6806f1d8133 Locale-Codes-3.62.tar.gz"
|