# Contributor: arch3y # Maintainer: arch3y global pkgname := 'libcli' global pkgver := '1.9.7' global pkgrel := '2' global pkgdesc := '"A library for including a Cisco-like command-line interface'" global url := '"https://github.com/dparrish/libcli'" global arch := '"all'" global options := '"!check'" global license := '"LGPL2+'" global source := ""$pkgname-$pkgver.tar.gz::https://github.com/dparrish/libcli/archive/v$pkgver.tar.gz gcc-5.2-fix.patch"" global builddir := ""$srcdir/$pkgname-$pkgver"" proc build { cd $builddir make } proc package { cd $builddir make PREFIX=/usr DESTDIR="$pkgdir" install } global sha512sums := '"b2dacfd40bc068ddcc0dc3d60576ef2f7d7e2af80b93c6e7ae899d654afca6f0f8d2df2b33c9c8e760bdbea9aa2eaf757029d46032dcf307341f78f1a8f4f66f libcli-1.9.7.tar.gz 4e8a3741e79f764a006bf6822ae503d6e8ff6a67a984f03e2006ed393f78b259846c64640288ee5f59074eb1730e41ec1af3b7f5307885c8e671b1096a9bea15 gcc-5.2-fix.patch'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(libcli)} spids:[6])] spids: [6] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(1.9.7)} spids:[9])] spids: [9] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(2)} spids:[12])] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("A library for including a Cisco-like command-line interface"))} spids: [15] ) ] spids: [15] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("https://github.com/dparrish/libcli"))} spids: [20] ) ] spids: [20] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (all))} spids:[25])] spids: [25] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:options) op:Equal rhs:{(DQ ("!check"))} spids:[30])] spids: [30] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ ("LGPL2+"))} spids:[35])] spids: [35] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver") (".tar.gz::https://github.com/dparrish/libcli/archive/v") ($ VSub_Name "$pkgver") (".tar.gz\n") ("\tgcc-5.2-fix.patch") ) } spids: [40] ) ] spids: [40] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: {(DQ ($ VSub_Name "$srcdir") (/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver"))} spids: [51] ) ] spids: [51] ) (FuncDef name: build body: (BraceGroup children: [(C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(make)})] spids: [65] ) spids: [61 64] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(make)} {(Lit_VarLike "PREFIX=") (/usr)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(install)} ) ] spids: [84] ) spids: [80 83] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "b2dacfd40bc068ddcc0dc3d60576ef2f7d7e2af80b93c6e7ae899d654afca6f0f8d2df2b33c9c8e760bdbea9aa2eaf757029d46032dcf307341f78f1a8f4f66f libcli-1.9.7.tar.gz\n" ) ( "4e8a3741e79f764a006bf6822ae503d6e8ff6a67a984f03e2006ed393f78b259846c64640288ee5f59074eb1730e41ec1af3b7f5307885c8e671b1096a9bea15 gcc-5.2-fix.patch" ) ) } spids: [109] ) ] spids: [109] ) ] )