blob: 40370933e52689903821055eb0d3fcd938bdd977 (
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
|
# 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.07
pkgrel=0
pkgdesc="make simple lightweight record-like structures"
url="http://search.cpan.org/dist/Struct-Dumb/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-test-fatal "
depends="$cpandepends"
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() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
package() {
cd "$_builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="22bd1808c98ccfe5f98e2e46cbf9e4fe Struct-Dumb-0.07.tar.gz"
sha256sums="84b85bd4dd77f7b92eaaa086713b6ba397d940578f3342f2773cb3c1eed315ac Struct-Dumb-0.07.tar.gz"
sha512sums="04f75ba03bbef99a034995d128c7926998ea33b7c1fd51d0df33766a9fb32b44144355a25b590d2b02058fe5103b86948d3bafd25ddd35b02b1cad67989e59a2 Struct-Dumb-0.07.tar.gz"
|