[arch-commits] Commit in wicd/repos (extra-i686 extra-i686/PKGBUILD)

Eduardo Romero eduardo at archlinux.org
Sun Nov 23 21:14:10 UTC 2008


    Date: Sunday, November 23, 2008 @ 16:14:10
  Author: eduardo
Revision: 19458

Merged revisions 19457 via svnmerge from 
svn+ssh://archlinux.org/srv/svn-packages/wicd/trunk

........
  r19457 | eduardo | 2008-11-23 17:12:47 -0400 (Sun, 23 Nov 2008) | 2 lines
  
  upgpkg: wicd 1.5.4-2
      clean pkgbuild
........

Modified:
  wicd/repos/extra-i686/	(properties)
  wicd/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)


Property changes on: wicd/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /wicd/trunk:1-19445
   + /wicd/trunk:1-19457

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-11-23 21:12:47 UTC (rev 19457)
+++ extra-i686/PKGBUILD	2008-11-23 21:14:10 UTC (rev 19458)
@@ -1,36 +1,37 @@
 # $Id$
-# Maintainer: Varun Acharya <varun at archlinux.org>
-# Contributor: Rashif "Don Ray" Rahman <rayrashif at gmail.com>
+# Maintainer: Eduardo Romero <eduardo at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=wicd
 pkgver=1.5.4
-pkgrel=1
+pkgrel=2
 pkgdesc="New and alternative wireless/wired network management utility"
 arch=('i686' 'x86_64')
 url="http://wicd.sourceforge.net/"
 license=('GPL2')
-depends=('dbus-python' 'pygtk' 'dhclient' 'wpa_supplicant' 'ethtool')
+depends=('dbus-python' 'pygtk' 'dhcpcd' 'wpa_supplicant' 'ethtool')
+optdepends=("hicolor-icon-theme" "wireless_tools")
 conflicts=('wicd-svn')
 install=wicd.install
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz wicd-daemon wicd.desktop)
 options=(emptydirs)
-md5sums=('2a2d120aecded75d4c07fcc4426098f6'
-         'f40e5f59998d0829707a7c9976afa8f8'
+md5sums=('2a2d120aecded75d4c07fcc4426098f6' 'f40e5f59998d0829707a7c9976afa8f8' \
          'eee9b10d9c860e1c7d195f115dc603f9')
   
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$pkgver
   python setup.py configure --no-install-init --resume=/usr/share/wicd/scripts/ --suspend=/usr/share/wicd/scripts/ --verbose
-  python setup.py install --root=$startdir/pkg
+  python setup.py install --root=$pkgdir
 
   # Add custom rc.d script
-  install -Dm755 ../wicd-daemon $startdir/pkg/etc/rc.d/wicd
-  install -Dm644 ../wicd.desktop ${startdir}/pkg/usr/share/applications/wicd.desktop
+  install -Dm755 ../wicd-daemon $pkgdir/etc/rc.d/wicd
+  install -Dm644 ../wicd.desktop $pkgdir/usr/share/applications/wicd.desktop
 
   cd build/lib/wicd
   for i in *.py; do
-    install -Dm 755 $i $startdir/pkg/usr/lib/wicd/$i
+    install -Dm 755 $i $pkgdir/usr/lib/wicd/$i
   done
   
-  rm -rf  ${startdir}/pkg/usr/share/autostart
+  # Remove unneeded files
+  rm -rf  $pkgdir/usr/{share/autostart,lib/wicd/{__init__,gui,misc,networking,wnettools,wpath}.py}
 }




More information about the arch-commits mailing list