(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgname) op: assign_op.Equal rhs: {<mapserver>} spids: [6] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgver) op: assign_op.Equal rhs: {<7.0.4>} spids: [9] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgrel) op: assign_op.Equal rhs: {<1>} spids: [12] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pkgdesc) op: assign_op.Equal rhs: { (DQ < 'MapServer is CGI-based platform for publishing spatial data and interactive mapping applications to the web.' > ) } spids: [15] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:url) op: assign_op.Equal rhs: {(DQ <'http://mapserver.org/'>)} spids: [20] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:arch) op: assign_op.Equal rhs: {(DQ <x86_64>)} spids: [25] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:license) op: assign_op.Equal rhs: {(DQ <MIT>)} spids: [30] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:depends) op: assign_op.Equal rhs: {(DQ <'geos gdal proj4 cairo curl fcgi freetype libjpeg libpng libxml2 libpq giflib'>)} spids: [35] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:depends_dev) op: assign_op.Equal rhs: { (DQ < 'cmake postgresql-dev geos-dev gdal-dev jpeg-dev giflib-dev libxml2-dev proj4-dev fcgi-dev curl-dev freetype-dev cairo-dev' > ) } 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: [45] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:install) op: assign_op.Equal rhs: {(DQ )} spids: [50] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:subpackages) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName '$pkgname') <-dev>)} spids: [54] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:source) op: assign_op.Equal rhs: { (DQ <'http://download.osgeo.org/mapserver/'> ($ Id.VSub_DollarName '$pkgname') <-> ($ Id.VSub_DollarName '$pkgver') <.tar.gz> ) } spids: [60] ) ] ) (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: [70] ) ] ) (command.ShFunction name: build body: (BraceGroup children: [ (C {<cd>} {(DQ ($ Id.VSub_DollarName '$builddir'))}) (command.Sentence child:(C {<mkdir>} {<build>}) terminator:<Id.Op_Semi _>) (C {<cd>} {<build>}) (C {<cmake>} {<..>} {<-DCMAKE_INSTALL_PREFIX> <Id.Lit_Equals '='> <'/usr'>} {<-DCMAKE_BUILD_TYPE> <Id.Lit_Equals '='> <Release>} {<-DWITH_GDAL> <Id.Lit_Equals '='> <ON>} {<-DWITH_GEOS> <Id.Lit_Equals '='> <ON>} {<-DWITH_OGR> <Id.Lit_Equals '='> <ON>} {<-DWITH_PROJ> <Id.Lit_Equals '='> <ON>} {<-DWITH_POSTGIS> <Id.Lit_Equals '='> <ON>} {<-DWITH_KML> <Id.Lit_Equals '='> <ON>} {<-DWITH_WCS> <Id.Lit_Equals '='> <ON>} {<-DWITH_SOS> <Id.Lit_Equals '='> <ON>} {<-DWITH_WMS> <Id.Lit_Equals '='> <ON>} {<-DWITH_CLIENT_WMS> <Id.Lit_Equals '='> <ON>} {<-DWITH_WFS> <Id.Lit_Equals '='> <ON>} {<-DWITH_CLIENT_WFS> <Id.Lit_Equals '='> <ON>} {<-DWITH_THREAD_SAFETY> <Id.Lit_Equals '='> <OFF>} {<-DWITH_FCGI> <Id.Lit_Equals '='> <ON>} {<-DWITH_CAIRO> <Id.Lit_Equals '='> <ON>} {<-DWITH_CURL> <Id.Lit_Equals '='> <ON>} {<-DWITH_MYSQL> <Id.Lit_Equals '='> <OFF>} {<-DWITH_FRIBIDI> <Id.Lit_Equals '='> <OFF>} {<-DWITH_HARFBUZZ> <Id.Lit_Equals '='> <OFF>} {<-DWITH_EXEMPI> <Id.Lit_Equals '='> <OFF>} ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<make>} {<-j1>}) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] ) ] ) ) (command.ShFunction name: package body: (BraceGroup children: [ (C {<cd>} {(DQ ($ Id.VSub_DollarName '$builddir')) <'/build'>}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<make>} {<Id.Lit_VarLike 'DESTDIR='> (DQ ($ Id.VSub_DollarName '$pkgdir'))} {<install>} ) (command.ControlFlow token: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] ) (C {<rm>} {<-rf>} {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/usr/share/'>}) (C {<chmod>} {<-x>} {(DQ ($ Id.VSub_DollarName '$pkgdir')) <'/usr/include/mapserver/'> <Id.Lit_Star '*'> <.h>} ) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:sha512sums) op: assign_op.Equal rhs: { (DQ < '04d61e488d59bccdde6eece4b59c5ad0f954bb15797b5bff6e961f4616f0d9d571a2d145788a5254b6d9e9a82dbccf34047a519642344fa1dffafaed16877fa6 mapserver-7.0.4.tar.gz' > ) } spids: [309] ) ] ) ] )