# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista global pkgname := 'perl-function-parameters' global _pkgreal := 'Function-Parameters' global pkgver := '1.0706' global pkgrel := '1' global pkgdesc := '"subroutine definitions with parameter lists'" global url := '"http://search.cpan.org/dist/Function-Parameters/'" global arch := '"all'" global license := '"GPL PerlArtistic'" global cpandepends := ''"" global cpanmakedepends := '" perl-dir-self perl-test-fatal '" global depends := $cpandepends global makedepends := ""perl-dev $cpanmakedepends"" global subpackages := ""$pkgname-doc"" global source := ""http://search.cpan.org/CPAN/authors/id/M/MA/MAUKE/$_pkgreal-$pkgver.tar.gz"" global builddir := ""$srcdir/$_pkgreal-$pkgver"" proc check { cd $builddir make test } proc prepare { default_prepare cd $builddir export CFLAGS=$[perl -MConfig -E 'say $Config{ccflags}] env PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } proc build { cd $builddir export CFLAGS=$[perl -MConfig -E 'say $Config{ccflags}] make } proc package { cd $builddir make DESTDIR="$pkgdir" install find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } global sha512sums := '"76130de0a41f94e62e657dae33c5fce5517e8c617e60107093abb5214c3f16f43e996035e5ffc324acd8bc895ee2722c2bb8919aa69d6eb97720521bc6f54a87 Function-Parameters-1.0706.tar.gz'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgname) op: Equal rhs: {(perl-function-parameters)} spids: [9] ) ] spids: [9] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_pkgreal) op: Equal rhs: {(Function-Parameters)} spids: [12] ) ] spids: [12] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(1.0706)} spids:[15])] spids: [15] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(1)} spids:[18])] spids: [18] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("subroutine definitions with parameter lists"))} spids: [21] ) ] spids: [21] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("http://search.cpan.org/dist/Function-Parameters/"))} spids: [26] ) ] spids: [26] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (all))} spids:[31])] spids: [31] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:license) op: Equal rhs: {(DQ ("GPL PerlArtistic"))} spids: [36] ) ] spids: [36] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:cpandepends) op:Equal rhs:{(DQ )} spids:[41])] spids: [41] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cpanmakedepends) op: Equal rhs: {(DQ (" perl-dir-self perl-test-fatal "))} spids: [45] ) ] spids: [45] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: {(DQ ($ VSub_Name "$cpandepends"))} spids: [50] ) ] spids: [50] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: {(DQ ("perl-dev ") ($ VSub_Name "$cpanmakedepends"))} spids: [55] ) ] spids: [55] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:subpackages) op: Equal rhs: {(DQ ($ VSub_Name "$pkgname") (-doc))} spids: [61] ) ] spids: [61] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ("http://search.cpan.org/CPAN/authors/id/M/MA/MAUKE/") ($ VSub_Name "$_pkgreal") (-) ($ VSub_Name "$pkgver") (.tar.gz) ) } spids: [67] ) ] spids: [67] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: {(DQ ($ VSub_Name "$srcdir") (/) ($ VSub_Name "$_pkgreal") (-) ($ VSub_Name "$pkgver"))} spids: [76] ) ] spids: [76] ) (FuncDef name: check body: (BraceGroup children: [(C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(make)} {(test)})] spids: [90] ) spids: [86 89] ) (FuncDef name: prepare body: (BraceGroup children: [ (C {(default_prepare)}) (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(export)} {(Lit_VarLike "CFLAGS=") (CommandSubPart command_list: (CommandList children: [(C {(perl)} {(-MConfig)} {(-E)} {(SQ <"say $Config{ccflags}">)})] ) left_token: spids: [128 138] ) } ) (SimpleCommand words: [{(perl)} {(Makefile.PL)} {(Lit_VarLike "INSTALLDIRS=") (vendor)}] more_env: [(env_pair name:PERL_MM_USE_DEFAULT val:{(1)} spids:[141])] ) ] spids: [111] ) spids: [107 110] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(export)} {(Lit_VarLike "CFLAGS=") (CommandSubPart command_list: (CommandList children: [(C {(perl)} {(-MConfig)} {(-E)} {(SQ <"say $Config{ccflags}">)})] ) left_token: spids: [171 181] ) } ) (C {(make)}) ] spids: [158] ) spids: [154 157] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(install)}) (C {(find)} {(DQ ($ VSub_Name "$pkgdir"))} {(EscapedLiteralPart token:)} {(-name)} {(perllocal.pod)} {(-o)} {(-name)} {(.packlist)} {(EscapedLiteralPart token:)} {(-delete)} ) ] spids: [193] ) spids: [189 192] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "76130de0a41f94e62e657dae33c5fce5517e8c617e60107093abb5214c3f16f43e996035e5ffc324acd8bc895ee2722c2bb8919aa69d6eb97720521bc6f54a87 Function-Parameters-1.0706.tar.gz" ) ) } spids: [238] ) ] spids: [238] ) ] )