1 # Template file for 'wicd'
6 hostmakedepends="python python-setuptools python-Babel"
7 depends="dbus-glib dhcpcd ethtool net-tools python-dbus python-gobject2 python-urwid
8 util-linux wireless_tools wpa_supplicant"
9 pycompile_module="wicd"
10 pycompile_dirs="usr/lib/wicd usr/share/wicd"
12 /etc/dbus-1/system.d/wicd.conf
13 /etc/wicd/encryption/templates/active"
14 short_desc="Open source wired and wireless network manager"
15 maintainer="Juan RP <xtraeme@voidlinux.eu>"
16 homepage="http://wicd.sourceforge.net"
18 distfiles="http://launchpad.net/wicd/1.7/${version}/+download/wicd-${version}.tar.gz"
19 checksum=67989614004773db349791c37675efb914d084bdb221356a05e4369c35e7eb62
22 python setup.py configure --verbose --no-install-init \
23 --resume=/usr/share/wicd/scripts \
24 --suspend=/usr/share/wicd/scripts \
25 --python=/usr/bin/python2 --lib=/usr/lib \
26 --sbin=/usr/bin --distro=arch \
27 --no-install-gnome-shell-extensions
30 python setup.py install --root=${DESTDIR}
32 vinstall ${FILESDIR}/wicd.desktop 644 usr/share/applications
34 vcopy "build/lib/wicd/*.py" usr/lib/wicd
35 chmod 755 ${DESTDIR}/usr/lib/wicd/*.py
39 rm -rf ${DESTDIR}/usr/share/doc
40 rm -rf ${DESTDIR}/etc/logrotate.d
41 rm -rf ${DESTDIR}/usr/lib/pm-utils
46 depends="wicd>=${version} pygtk python-notify shared-mime-info desktop-file-utils hicolor-icon-theme"
47 short_desc+=" - GTK UI"
48 pycompile_dirs="usr/share/wicd/gtk"
51 vmove usr/bin/wicd-client
52 vmove usr/bin/wicd-gtk
53 vmove usr/share/applications
54 vmove usr/share/pixmaps
56 vmove usr/share/wicd/icons
57 vmove usr/share/wicd/gtk
58 vmove usr/share/man/man1/wicd-client.1
59 vmove usr/share/man/nl/man1/wicd-client.1