(command.CommandList children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:pkgname spids:[6]) op: Equal rhs: {(snapraid)} spids: [6] ) ] spids: [6] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:pkgver spids:[9]) op: Equal rhs: {(11.1)} spids: [9] ) ] spids: [9] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:pkgrel spids:[12]) op: Equal rhs: {(0)} spids: [12] ) ] spids: [12] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:pkgdesc spids:[15]) op: Equal rhs: {(DQ ('A backup program for disk arrays'))} spids: [15] ) ] spids: [15] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:url spids:[20]) op: Equal rhs: {(DQ ('http://www.snapraid.it'))} spids: [20] ) ] spids: [20] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:arch spids:[25]) op: Equal rhs: {(DQ (all))} spids: [25] ) ] spids: [25] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:license spids:[30]) op: Equal rhs: {(DQ (GPL3))} spids: [30] ) ] spids: [30] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:subpackages spids:[35]) op: Equal rhs: {(DQ ($ VSub_DollarName '$pkgname') (-doc))} spids: [35] ) ] spids: [35] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:source spids:[41]) op: Equal rhs: { (DQ ($ VSub_DollarName '$pkgname') (-) ($ VSub_DollarName '$pkgver') ('.tar.gz::https://github.com/amadvance/') ($ VSub_DollarName '$pkgname') (/releases/download/v) ($ VSub_DollarName '$pkgver') (/) ($ VSub_DollarName '$pkgname') (-) ($ VSub_DollarName '$pkgver') (.tar.gz) ) } spids: [41] ) ] spids: [41] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:builddir spids:[58]) op: Equal rhs: {(DQ ($ VSub_DollarName '$srcdir')) (/) ($ VSub_DollarName '$pkgname') (-) ($ VSub_DollarName '$pkgver') } spids: [58] ) ] spids: [58] ) (command.FuncDef name: build body: (command.BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$builddir'))}) (C {(./configure)} {(--build) (Lit_Other '=') ($ VSub_DollarName '$CBUILD')} {(--host) (Lit_Other '=') ($ VSub_DollarName '$CHOST')} {(--prefix) (Lit_Other '=') (/usr)} {(--sysconfdir) (Lit_Other '=') (/etc)} {(--mandir) (Lit_Other '=') (/usr/share/man)} {(--localstatedir) (Lit_Other '=') (/var)} ) (C {(make)}) ] spids: [72] ) spids: [68 71] ) (command.FuncDef name: check body: (command.BraceGroup children: [(C {(cd)} {(DQ ($ VSub_DollarName '$builddir'))}) (C {(make)} {(check)})] spids: [130] ) spids: [126 129] ) (command.FuncDef name: package body: (command.BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_DollarName '$builddir'))}) (C {(make)} {(Lit_VarLike 'DESTDIR=') (DQ ($ VSub_DollarName '$pkgdir'))} {(install)}) ] spids: [151] ) spids: [147 150] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:sha512sums spids:[173]) op: Equal rhs: { (DQ ( '1c1b84902131e585890c0743abdb4b323018e68f8a7b2ff196deeeb29df163cba6242c4c2d046eed73ebd47823ec2bdd1c948da71c1423f11c3af3b4a36428d0 snapraid-11.1.tar.gz' ) ) } spids: [173] ) ] spids: [173] ) ] )