blob: bb216c7a7c3c3c55f90001c9d5395f97c9ad32db (
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 4
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=perl-object-pad
pkgver=0.812
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Object-Pad
pkgdesc="a simple syntax for lexical field-based objects"
url="https://metacpan.org/release/Object-Pad/"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-xs-parse-sublike perl-xs-parse-keyword perl-file-sharedir"
makedepends="perl-dev perl-module-build"
checkdepends="perl-data-dump"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Object-Pad-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
aa7534a3b186c8c2f7b0c56343794cd5b6bdcc7039e8880c81bc1980362eaf7b62a339adfe7fbf2d487f203f69c4ffd2900a3ae282650c99889b2514ff0cce3d Object-Pad-0.812.tar.gz
"
|