wicd: move to usr/bin; remove systemd support.

This commit is contained in:
Juan RP 2015-06-03 09:43:38 +02:00
parent 7206fe8df0
commit 916ef51223

View file

@ -1,9 +1,8 @@
# Template file for 'wicd' # Template file for 'wicd'
pkgname=wicd pkgname=wicd
version=1.7.3 version=1.7.3
revision=4 revision=5
noarch=yes noarch=yes
build_options="systemd"
hostmakedepends="python python-setuptools python-Babel" hostmakedepends="python python-setuptools python-Babel"
depends="dbus-glib dhcpcd ethtool net-tools python-dbus python-gobject2 python-urwid depends="dbus-glib dhcpcd ethtool net-tools python-dbus python-gobject2 python-urwid
rfkill wireless_tools wpa_supplicant" rfkill wireless_tools wpa_supplicant"
@ -20,15 +19,12 @@ distfiles="http://launchpad.net/wicd/1.7/${version}/+download/wicd-${version}.ta
checksum=91e38857b1651d242ed7e3b3e3fd8b076b4d06a23eedb033310fae510ece8401 checksum=91e38857b1651d242ed7e3b3e3fd8b076b4d06a23eedb033310fae510ece8401
do_build() { do_build() {
if [ "${build_option_systemd}" ]; then
_args="--systemd=/usr/lib/systemd/system"
fi
python setup.py configure --verbose --no-install-init \ python setup.py configure --verbose --no-install-init \
--resume=/usr/share/wicd/scripts \ --resume=/usr/share/wicd/scripts \
--suspend=/usr/share/wicd/scripts \ --suspend=/usr/share/wicd/scripts \
--python=/usr/bin/python2 --lib=/usr/lib \ --python=/usr/bin/python2 --lib=/usr/lib \
--sbin=/usr/sbin --distro=arch \ --sbin=/usr/bin --distro=arch \
--no-install-gnome-shell-extensions ${_args} --no-install-gnome-shell-extensions
} }
do_install() { do_install() {
python setup.py install --root=${DESTDIR} python setup.py install --root=${DESTDIR}