blob: 57b63f02cdd180adc8dbe779d4fd10ccabfb2c82 (
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
40
41
42
43
44
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-struct-dumb
_pkgreal=Struct-Dumb
pkgver=0.09
pkgrel=0
pkgdesc="Make simple lightweight record-like structures"
url="http://search.cpan.org/dist/Struct-Dumb/"
arch="noarch"
license="GPL PerlArtistic"
cpanmakedepends="perl-test-fatal"
makedepends="perl-dev $cpanmakedepends perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor
}
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build
}
check() {
cd "$builddir"
./Build test
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="6dc1e6ce02386906f5e440d989a5cd1810201327567684d26d877a212e0b97d64b2cfdb0432ac5d8ab94bcecfb61c4b59fd8aa3ae22adc06de3c8083f667c134 Struct-Dumb-0.09.tar.gz"
|