blob: 298b260d20e0ca53f0f207ff255765155a2309c0 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-data-compare
_pkgreal=Data-Compare
pkgver=1.27
pkgrel=0
pkgdesc="Compare perl data structures"
url="https://metacpan.org/release/Data-Compare"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl-clone perl-file-find-rule"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Data-Compare-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="29f20ec3fc86402b1006a50adb5417e11ff67cc2d6381afc7a6626696fb1f597dddbd87c505ccb6f3aa68805c0da2b193e13ea0130e40780731e49e530e42c85 Data-Compare-1.27.tar.gz"
|