diff options
-rw-r--r-- | .SRCINFO | 46 | ||||
-rw-r--r-- | PKGBUILD | 68 | ||||
-rw-r--r-- | wicd.install | 9 |
3 files changed, 64 insertions, 59 deletions
@@ -1,35 +1,37 @@ pkgbase = wicd-git - pkgver = 6f801a + pkgver = r1472.c6f801a pkgrel = 1 - url = https://launchpad.net/wicd/ - install = wicd.install - arch = any + url = http://wicd.sourceforge.net/ + arch = x86_64 license = GPL2 - makedepends = python2 + makedepends = git makedepends = python2-babel makedepends = python2-setuptools makedepends = gettext - makedepends = dbus-glib - makedepends = dhcpcd - makedepends = ethtool - makedepends = inetutils - makedepends = net-tools makedepends = pygtk - makedepends = python2-dbus - makedepends = python2-gobject2 - makedepends = python2-urwid - makedepends = rfkill - makedepends = shared-mime-info - makedepends = wireless_tools - makedepends = wpa_supplicant - makedepends = hicolor-icon-theme + depends = python2 + depends = python2-dbus + depends = dhcpcd + depends = wpa_supplicant + depends = wireless_tools + depends = pm-utils + depends = inetutils + depends = net-tools + depends = ethtool + depends = shared-mime-info + depends = python2-urwid + depends = python2-gobject2 + depends = dbus-glib + depends = rfkill + optdepends = wicd-client-kde: needed if you want to use kde ui options = emptydirs - source = git+git://github.com/johnboiles/wicd.git + backup = etc/wicd/encryption/templates/active + source = git+https://github.com/johnboiles/wicd.git source = wicd.desktop source = wicd-1.7.3-urwid-1.3.0.patch - md5sums = SKIP - md5sums = 326df163a5732d38741371baa4fce9e5 - md5sums = f7e6085e482f37f2b8529326c21cbbbf + sha512sums = SKIP + sha512sums = 48ea8e732eb661888288fd7bd9aacddea71cb8bdeea5dbc9a4c31cdddb38e7e1e5bc64ce98b9b6f248f6b416582fc64d173da64d79d0a109ca610e08635013fa + sha512sums = 48183d805b096c4a1857990d1d9a709544406ee93607f96d4eaf46e4f7729a73e0178251f1168aa516c38bba727821c70a9104de84ca5b4288f91219dfeed2e9 pkgname = wicd-git pkgdesc = Wired and wireless network manager for Linux @@ -1,52 +1,58 @@ -# Maintainer: Adrien Sohier <adrien.sohier@art-software.fr +# Maintainer: +# Contributor: Felix Golatofski <contact@xdfr.de> +# Contributor: Adrien Sohier <adrien.sohier@art-software.fr pkgbase=wicd-git pkgname=('wicd-git' 'wicd-gtk-git') -pkgver=6f801a +pkgver=r1472.c6f801a pkgrel=1 -arch=(any) -url="https://launchpad.net/wicd/" +arch=('x86_64') +url="http://wicd.sourceforge.net/" license=('GPL2') -install=wicd.install -source=(git+git://github.com/johnboiles/wicd.git +depends=('python2' 'python2-dbus' 'dhcpcd' 'wpa_supplicant' 'wireless_tools' 'pm-utils' + 'inetutils' 'net-tools' 'ethtool' 'shared-mime-info' 'python2-urwid' 'python2-gobject2' 'dbus-glib' 'rfkill') +makedepends=('git' 'python2-babel' 'python2-setuptools' 'gettext' 'pygtk') +optdepends=('wicd-client-kde: needed if you want to use kde ui') +source=(git+https://github.com/johnboiles/wicd.git wicd.desktop wicd-1.7.3-urwid-1.3.0.patch) -md5sums=('SKIP' - '326df163a5732d38741371baa4fce9e5' - 'f7e6085e482f37f2b8529326c21cbbbf') -makedepends=('python2' 'python2-babel' 'python2-setuptools' 'gettext' 'dbus-glib' 'dhcpcd' - 'ethtool' 'inetutils' 'net-tools' 'pygtk' 'python2-dbus' 'python2-gobject2' - 'python2-urwid' 'rfkill' 'shared-mime-info' 'wireless_tools' 'wpa_supplicant' - 'hicolor-icon-theme') options=('emptydirs') +backup=('etc/wicd/encryption/templates/active') +sha512sums=('SKIP' + '48ea8e732eb661888288fd7bd9aacddea71cb8bdeea5dbc9a4c31cdddb38e7e1e5bc64ce98b9b6f248f6b416582fc64d173da64d79d0a109ca610e08635013fa' + '48183d805b096c4a1857990d1d9a709544406ee93607f96d4eaf46e4f7729a73e0178251f1168aa516c38bba727821c70a9104de84ca5b4288f91219dfeed2e9') pkgver() { - cd wicd - git describe --always | tr "-" "." | cut -c2- + cd $srcdir/wicd + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } + prepare() { - cd wicd + cd $srcdir/wicd find . -type f -exec sed -i 's@#!/usr.*python@#!/usr/bin/python2@' {} \; - sed -i 's/pybabel/pybabel2/g' setup.py export PYTHON=python2 sed -i 's|/usr/sbin/|/usr/bin/|' other/wicd.service + sed -i 's|pybabel|pybabel2|' setup.py + patch -Np0 -i "$srcdir/wicd-1.7.3-urwid-1.3.0.patch" } build() { - cd wicd - python2 setup.py configure \ - --no-install-init \ - --resume=/usr/share/wicd/scripts/ \ - --suspend=/usr/share/wicd/scripts/ \ - --verbose \ - --python=/usr/bin/python2 \ - --lib=/usr/lib \ - --sbin=/usr/bin \ - --no-install-gnome-shell-extensions \ - --systemd=/usr/lib/systemd/system + cd $srcdir/wicd + + python2 setup.py configure --no-install-init \ + --no-install-gnome-shell-extensions \ + --distro=arch \ + --resume=/usr/share/wicd/scripts/ \ + --suspend=/usr/share/wicd/scripts/ \ + --verbose \ + --python=/usr/bin/python2 \ + --lib=/usr/lib \ + --sbin=/usr/bin \ + --systemd=/usr/lib/systemd/system + python2 setup.py build python2 setup.py compile_translations @@ -63,9 +69,9 @@ package_wicd-git() { provides=("wicd") conflicts=("wicd") backup=('etc/wicd/encryption/templates/active') - install=wicd.install + install=wicd.install - cd wicd + cd $srcdir/wicd python2 setup.py install --skip-build --optimize=1 --root="$pkgdir" cd build/lib/wicd @@ -93,7 +99,7 @@ package_wicd-gtk-git() { 'python2-notify: needed if you want notifications') install=wicd-gtk.install - cd wicd + cd $srcdir/wicd python2 setup.py install --skip-build --optimize=1 --root="$pkgdir" install -Dm644 "$srcdir/wicd.desktop" "$pkgdir/usr/share/applications/wicd.desktop" diff --git a/wicd.install b/wicd.install index 6bb3d3ae113b..8e120419fc46 100644 --- a/wicd.install +++ b/wicd.install @@ -10,10 +10,7 @@ pre_remove () { post_install() { echo - echo "==> You need to restart the dbus service after " - echo "==> upgrading wicd." - echo "==> Disable networkmanager, dhcpcd or other networking " - echo "==> utility and add 'wicd' to your systemd configuration." - echo - echo "==> To run: wicd-cli or wicd-curses" + echo "==> You need to enable the wicd systemd service" + echo "==> Please run:" + echo "==> sudo systemctl enable wicd" } |