1 # Contributor: Sharn <go__cart91@hotmail.com>
6 pkgdesc="Wired and wireless network manager which aims to provide a simple interface to connect to networks with a wide variety of settings. nacls experimental branch - cursesui"
8 url="http://wicd.sourceforge.net/"
10 depends=('dbus-python' 'pygtk' 'dhclient' 'ethtool' 'wpa_supplicant' 'python-urwid')
13 conflicts=('wicd' 'wicd-svn' 'wicd-bzr')
14 replaces=('wicd' 'wicd-svn' 'wicd-bzr')
19 _bzrtrunk=lp:~nacl/wicd/experimental-nacl
20 _bzrmod=experimental-nacl
25 msg "Connecting to the server...."
27 bzr branch ${_bzrtrunk} -q -r ${pkgver}
29 msg "BZR checkout done or server timeout"
30 msg "Starting make..."
32 [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build
33 cp -r ./${_bzrmod} ./${_bzrmod}-build
36 msg "Starting make..."
38 install -d -m 755 $pkgdir/etc
39 touch $pkgdir/etc/arch-release
42 python setup.py configure || return 1
43 #python setup.py get_translations
44 python setup.py install --root ${startdir}/pkg/ || return 1
47 # Add custom rc.d script
49 install -D -m755 wicd-daemon pkg/etc/rc.d/wicd
51 # Add missing directories and delete useless one
52 rm -r ${startdir}/pkg/usr/share/autostart
53 rm $pkgdir/etc/arch-release