blob: 59f248c3e3316cbc28993877dcb27e32a52e58cf (
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
35
36
37
38
39
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-tie-ixhash
_pkgreal=Tie-IxHash
pkgver=1.23
pkgrel=1
pkgdesc="ordered associative arrays for Perl"
url="https://metacpan.org/release/Tie-IxHash"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-module-build"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
perl Build.PL installdirs=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
check() {
./Build test
}
package() {
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="8393f2ced231533c3e714abad582f291 Tie-IxHash-1.23.tar.gz"
sha256sums="fabb0b8c97e67c9b34b6cc18ed66f6c5e01c55b257dcf007555e0b027d4caf56 Tie-IxHash-1.23.tar.gz"
sha512sums="13e5015cf4e11e3ba828279a5090704b8e4bed26a04e1f486a9d3a63c41eaf38d54d233b20ef5d1886b56e857208c229fd145c4c676b681e3e9c1ed3c252f195 Tie-IxHash-1.23.tar.gz"
|