(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:pkgname)
          op: assign_op.Equal
          rhs: {<cgiirc>}
          spids: [6]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:pkgver)
          op: assign_op.Equal
          rhs: {<0.5.12>}
          spids: [9]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:pkgrel)
          op: assign_op.Equal
          rhs: {<0>}
          spids: [12]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:pkgdesc)
          op: assign_op.Equal
          rhs: {(DQ <'A perl/CGI program to use IRC from a web browser'>)}
          spids: [15]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:url)
          op: assign_op.Equal
          rhs: {(DQ <'http://cgiirc.org/'>)}
          spids: [20]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:arch)
          op: assign_op.Equal
          rhs: {(DQ <all>)}
          spids: [25]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:license)
          op: assign_op.Equal
          rhs: {(DQ <GPL>)}
          spids: [30]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:depends)
          op: assign_op.Equal
          rhs: {(DQ <perl>)}
          spids: [35]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:depends_dev)
          op: assign_op.Equal
          rhs: {(DQ )}
          spids: [40]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:makedepends)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_DollarName '$depends_dev'))}
          spids: [44]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:install)
          op: assign_op.Equal
          rhs: {(DQ ($ Id.VSub_DollarName '$pkgname') <.post-install>)}
          spids: [49]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:subpackages)
          op: assign_op.Equal
          rhs: {(DQ )}
          spids: [55]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:source)
          op: assign_op.Equal
          rhs: 
            {
              (DQ <'http://cgiirc.org/releases/'> ($ Id.VSub_DollarName '$pkgname') <-> 
                ($ Id.VSub_DollarName '$pkgver') <'.tar.gz\n'> <'\tcgiirc.config'>
              )
            }
          spids: [59]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:_builddir)
          op: assign_op.Equal
          rhs: 
            {(DQ ($ Id.VSub_DollarName '$srcdir')) <'/'> ($ Id.VSub_DollarName '$pkgname') <-> 
              ($ Id.VSub_DollarName '$pkgver')
            }
          spids: [69]
        )
      ]
    )
    (command.ShFunction
      name: build
      body: 
        (BraceGroup
          children: [
            (C {<cd>} {(DQ ($ Id.VSub_DollarName '$_builddir'))})
            (C {<cc>} {<-O2>} {<-o>} {<client.cgi>} {<client.c>})
          ]
        )
    )
    (command.ShFunction
      name: package
      body: 
        (BraceGroup
          children: [
            (C {<cd>} {(DQ ($ Id.VSub_DollarName '$_builddir'))})
            (C {<mkdir>} {<-p>} 
              {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/usr/share/webapps/'> 
                ($ Id.VSub_DollarName '$pkgname')
              }
            )
            (C {<mkdir>} {<-p>} {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/etc/cgiirc/formats'>})
            (C {<cp>} {<cgiirc.config.full>} {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/etc/cgiirc'>})
            (C {<cp>} {(DQ ($ Id.VSub_DollarName '$srcdir')) <'/cgiirc.config'>} 
              {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/etc/cgiirc/cgiirc.config'>}
            )
            (C {<cp>} {<ipaccess.example>} {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/etc/cgiirc'>})
            (C {<cp>} {<'formats/'> <Id.Lit_Star '*'>} 
              {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/etc/cgiirc/formats'>}
            )
            (command.ForEach
              iter_name: i
              iter_words: [{<Id.Lit_Star '*'> <.cgi>}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (C {<cp>} {($ Id.VSub_DollarName '$i')} 
                      {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/usr/share/webapps/'> 
                        ($ Id.VSub_DollarName '$pkgname') <'/'> ($ Id.VSub_DollarName '$i')
                      }
                    )
                    (C {<chmod>} {<755>} 
                      {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/usr/share/webapps/'> 
                        ($ Id.VSub_DollarName '$pkgname') <'/'> ($ Id.VSub_DollarName '$i')
                      }
                    )
                  ]
                )
            )
            (C {<cp>} {<-r>} {<modules>} 
              {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/usr/share/webapps/'> 
                ($ Id.VSub_DollarName '$pkgname') <'/'>
              }
            )
            (C {<cp>} {<-r>} {<images>} 
              {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/usr/share/webapps/'> 
                ($ Id.VSub_DollarName '$pkgname') <'/'>
              }
            )
            (C {<cp>} {<-r>} {<interfaces>} 
              {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/usr/share/webapps/'> 
                ($ Id.VSub_DollarName '$pkgname') <'/'>
              }
            )
          ]
        )
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:sha512sums)
          op: assign_op.Equal
          rhs: 
            {
              (DQ 
                <
'ba156bbf036846e2bdd1d5f219d837bcfc23c690593740bccad375af95f3d4c56c3624621d03b47145b5dbb73e2fed5a16b6917f81ac784de04e0e9d6afdd2eb  cgiirc-0.5.12.tar.gz\n'
                > 
                <
'9c2cb5f71290cf15cd39f316b8e62b00fa50a8357233497b82f2aabc6f73ba23bc4712cda73b198eb59ecddde00020d50e2e812531eb446af18038170f8dc12d  cgiirc.config'
                >
              )
            }
          spids: [271]
        )
      ]
    )
  ]
)