# Contributor: Konstantin Khokhlov global pkgname := 'wicd' global pkgver := '1.7.2.4' global pkgrel := '0' global pkgdesc := '"Wicd is an open source wired and wireless network manager for Linux'" global url := '"http://wicd.sourceforge.net/'" global arch := '"noarch'" global license := '"GPLv2'" global depends := '"python2 py-gtk dbus py-dbus wireless-tools iproute2 pm-utils py2-babel'" global makedepends := '"py-setuptools'" global source := ""$(pkgname)-$(pkgver).tar.gz::https://github.com/dpaleino/wicd/archive/1.7.2.4.tar.gz wicd.initd"" global builddir := ""$srcdir/$pkgname-$pkgver"" proc build { cd $builddir python setup.py configure \ --distro=gentoo \ --no-install-init \ --no-install-man } proc package { cd $builddir python setup.py install --root="$pkgdir" --prefix="/usr" install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname || return 1 } global sha512sums := '"3b42e94de3c6f0bfcbb45e7f6b598e7b6dbec25ff29ce3e1744876f75e0662d4f3ad0ccaba1a24e728fd63fc492d6f7d5c768247b9d55bcc2994df0d1b52bf80 wicd-1.7.2.4.tar.gz 6e4d550bc496cb28b6234f6feb1c16ee595fd9ae77bfcb0bb35b41a66e68d638d062cb3ac4abe3548fcf22b51189fbf26cd7c269995224650de495ff67ac24ba wicd.initd'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(wicd)} spids:[3])] spids: [3] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(1.7.2.4)} spids:[6])] spids: [6] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(0)} spids:[9])] spids: [9] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("Wicd is an open source wired and wireless network manager for Linux"))} spids: [12] ) ] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("http://wicd.sourceforge.net/"))} spids: [17] ) ] spids: [17] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (noarch))} spids:[22])] spids: [22] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (GPLv2))} spids:[27])] spids: [27] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depends) op: Equal rhs: {(DQ ("python2 py-gtk dbus py-dbus wireless-tools iproute2 pm-utils py2-babel"))} spids: [32] ) ] spids: [32] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: {(DQ (py-setuptools))} spids: [37] ) ] spids: [37] ) (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/dpaleino/wicd/archive/1.7.2.4.tar.gz\n") (wicd.initd) ) } spids: [42] ) ] spids: [42] ) (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: [55] ) ] spids: [55] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(python)} {(setup.py)} {(configure)} {(--distro) (Lit_Other "=") (gentoo)} {(--no-install-init)} {(--no-install-man)} ) ] spids: [69] ) spids: [65 68] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(python)} {(setup.py)} {(install)} {(--root) (Lit_Other "=") (DQ ($ VSub_Name "$pkgdir"))} {(--prefix) (Lit_Other "=") (DQ (/usr))} ) (AndOr children: [ (C {(install)} {(-m755)} {(-D)} {(DQ ($ VSub_Name "$srcdir")) (/) ($ VSub_Name "$pkgname") (.initd)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/init.d/) ($ VSub_Name "$pkgname")} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [107] ) spids: [103 106] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "3b42e94de3c6f0bfcbb45e7f6b598e7b6dbec25ff29ce3e1744876f75e0662d4f3ad0ccaba1a24e728fd63fc492d6f7d5c768247b9d55bcc2994df0d1b52bf80 wicd-1.7.2.4.tar.gz\n" ) ( "6e4d550bc496cb28b6234f6feb1c16ee595fd9ae77bfcb0bb35b41a66e68d638d062cb3ac4abe3548fcf22b51189fbf26cd7c269995224650de495ff67ac24ba wicd.initd" ) ) } spids: [164] ) ] spids: [164] ) ] )