[arch-commits] Commit in netcfg/trunk (PKGBUILD)
James Rayner
james at archlinux.org
Mon May 18 10:33:56 UTC 2009
Date: Monday, May 18, 2009 @ 06:33:55
Author: james
Revision: 39490
upgpkg: netcfg 2.2.0b1-1
Modified:
netcfg/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-05-18 05:31:42 UTC (rev 39489)
+++ PKGBUILD 2009-05-18 10:33:55 UTC (rev 39490)
@@ -1,30 +1,26 @@
# $Id$
# Maintainer: James Rayner <james at archlinux.org>
pkgname=netcfg
-pkgver=2.1.3
-pkgrel=3
+pkgver=2.2.0b1
+pkgrel=1
pkgdesc="Network configuration and profile scripts"
url="http://archlinux.org"
license=("BSD")
backup=(etc/iftab)
-depends=(wireless_tools coreutils "wpa_supplicant>=0.6.8" net-tools "dhcpcd>=4.0")
-optdepends=(dialog)
-source=(wpa_conf.diff http://ftp.archlinux.org/other/netcfg/netcfg-$pkgver.tar.gz)
+depends=(wireless_tools coreutils "wpa_supplicant>=0.6.8" net-tools "dhcpcd>=4.0" "iproute2")
+optdepends=('dialog: Required for menu based profile selector' \
+ 'dbus-python: For wireless connection using wpa_supplicant/dbus')
+source=(http://ftp.archlinux.org/other/netcfg/netcfg-$pkgver.tar.gz)
-#source=(netcfg-$pkgver.tar.gz)
-arch=(i686 x86_64)
+arch=(x86_64 i686)
build() {
cd $startdir/src/netcfg-$pkgver
- sed -i 's|/man/|/share/man/|' Makefile
- patch -p1 -i $startdir/src/wpa_conf.diff
+
make DESTDIR=$startdir/pkg install
- make DESTDIR=$startdir/pkg install-contrib
+ make DESTDIR=$startdir/pkg install-wireless
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/netcfg/LICENSE
-
- # Uncomment once initscripts patch merged
+
ln -s /usr/bin/netcfg2 $startdir/pkg/usr/bin/netcfg
}
-md5sums=('fb886083e9309e2b9aad43bede40c070'
- 'dab5e9fd3b01e027408845928c79396f')
More information about the arch-commits
mailing list