wicd: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 17:46:03 +02:00
parent ffce5f6691
commit a699edbf1b
2 changed files with 5 additions and 5 deletions

View file

@ -1,13 +1,13 @@
# Template file for 'wicd' # Template file for 'wicd'
pkgname=wicd pkgname=wicd
version=1.7.1 version=1.7.1
revision=3 revision=4
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
fulldepends="dhcpcd wpa_supplicant wireless_tools ethtool dbus-python pygobject2 python-urwid>=0.9.9" fulldepends="dhcpcd wpa_supplicant wireless_tools ethtool dbus-python pygobject2 python-urwid>=0.9.9"
short_desc="Open source wired and wireless network manager" short_desc="Open source wired and wireless network manager"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wicd.sourceforge.net" homepage="http://wicd.sourceforge.net"
license="GPL-2" license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=19f6f94138eed16fe25ad434d4b0b382056c656a48f2d8cee31ac7ffbf949203 checksum=19f6f94138eed16fe25ad434d4b0b382056c656a48f2d8cee31ac7ffbf949203
long_desc=" long_desc="
Wicd is an open source wired and wireless network manager for Linux Wicd is an open source wired and wireless network manager for Linux
@ -26,8 +26,8 @@ long_desc="
* Tray icon showing network activity and signal strength * Tray icon showing network activity and signal strength
* A full-featured console interface" * A full-featured console interface"
subpackages="wicd-gtk"
noarch=yes noarch=yes
subpackages="wicd-gtk"
pycompile_module="wicd" pycompile_module="wicd"
pycompile_dirs="usr/lib/wicd usr/share/wicd" pycompile_dirs="usr/lib/wicd usr/share/wicd"
@ -37,7 +37,6 @@ conf_files="
systemd_services="wicd.service on" systemd_services="wicd.service on"
do_install() { do_install() {
python setup.py configure \ python setup.py configure \
--resume=/usr/share/wicd/scripts \ --resume=/usr/share/wicd/scripts \
@ -49,4 +48,6 @@ do_install() {
vcopy "build/lib/wicd/*.py" usr/lib/wicd vcopy "build/lib/wicd/*.py" usr/lib/wicd
chmod 755 ${DESTDIR}/usr/lib/wicd/*.py chmod 755 ${DESTDIR}/usr/lib/wicd/*.py
rm -rf ${DESTDIR}/usr/share/doc rm -rf ${DESTDIR}/usr/share/doc
vmove "lib/*" usr/lib
} }

View file

@ -10,7 +10,6 @@ noarch=yes
gtk_iconcache_dirs="/usr/share/icons/hicolor" gtk_iconcache_dirs="/usr/share/icons/hicolor"
pycompile_dirs="usr/share/wicd/gtk" pycompile_dirs="usr/share/wicd/gtk"
do_install() { do_install() {
vmove etc/xdg etc vmove etc/xdg etc
vmove usr/bin/wicd-client usr/bin vmove usr/bin/wicd-client usr/bin