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
1 changed files with 3 additions and 7 deletions

View File

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