milis/talimatname/genel/w/wicd/talimat

37 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-04-20 14:23:01 +02:00
# Description: Linux için kablolu ve kablosuz ağ yöneticisi
2016-02-24 01:27:23 +01:00
# URL: http://wicd.sourceforge.net/
2017-04-20 14:23:01 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: python-gtk wpa-supplicant dbus-python wireless-tools dhcpcd
name=wicd
version=1.7.2.4
release=1
source=( http://launchpad.net/wicd/1.7/$version/+download/$name-$version.tar.gz \
2016-03-24 10:23:39 +01:00
http://downloads.nutyx.org/files/patchs/$name/dbus_string_fix.patch wicd.rc)
2016-02-24 01:27:23 +01:00
build() {
unset MAKEFLAGS
cd $name-$version
patch -Np0 -i ../dbus_string_fix.patch
sed -i '/wpath.logrotate\|wpath.systemd/d' setup.py
python setup.py configure --no-install-kde \
--no-install-acpi \
--no-install-pmutils \
2016-03-13 13:04:15 +01:00
--no-install-init \
--no-install-docs
2016-02-24 01:27:23 +01:00
# Hack sinon les locales s'installent pas
mkdir -p translations/ast/LC_MESSAGES
for i in zh_CN zh_HK zh_TW bg ca da de cs \
el fa en eo es fi et eu fr gl he id hr hu \
ja it ka kk ko lt lv ml nb nl nn pl pt ro \
ru sk sl te sr sv tr uk vi ast ar_EG pt_BR
do msgfmt po/$i.po -o translations/$i/LC_MESSAGES/wicd.mo
done
python setup.py install --optimize=1 --root=$PKG
cp scripts/wicd $PKG/usr/bin/wicd
2016-03-24 10:21:54 +01:00
install -m 0744 -D $SRC/wicd.rc $PKG/etc/rc.d/wicd
2016-02-24 01:27:23 +01:00
echo "NotShowIn=KDE" >> $PKG/etc/xdg/autostart/wicd-tray.desktop
}