[arch-commits] Commit in netcfg/trunk (PKGBUILD)

Thomas Bächler thomas at archlinux.org
Mon Mar 19 15:04:52 EDT 2012


    Date: Monday, March 19, 2012 @ 15:04:51
  Author: thomas
Revision: 153815

2.7.1: Update to latest PKGBUILD and Makefile from git

Modified:
  netcfg/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-19 19:03:46 UTC (rev 153814)
+++ PKGBUILD	2012-03-19 19:04:51 UTC (rev 153815)
@@ -1,29 +1,32 @@
 # $Id$
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-# Contributor: James Rayner <james at archlinux.org>
+# Maintainer: Jouke Witteveen <j.witteveen at gmail.com>
 
 pkgname=netcfg
-pkgver=2.7
+pkgver=2.7.1
 pkgrel=1
 pkgdesc="Network configuration and profile scripts"
 url="http://archlinux.org"
 license=("BSD")
 backup=(etc/iftab etc/conf.d/netcfg)
 depends=("coreutils" "dhcpcd>=4.0" "iproute2")
-optdepends=('dialog: Required for menu based profile selector'
+#makedepends=('asciidoc')  # The source tarball includes pre-built documentation.
+optdepends=('dialog: Required for menu based profile and wifi selectors'
             'bridge-utils: To set up bridge connections'
             'wpa_supplicant: required for wireless network support'
             'wpa_actiond: Required for automatic wireless connection with rc.d/net-auto-wireless'
             'ifplugd: Required for automatic wired connection with rc.d/net-auto-wired'
-            'wireless_tools: Required to support obsolete IWCONFIG option'
-            'net-tools: required to support obsolete IFOPTS option'
-            )
-source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.gz)
+            'wireless_tools: Required for net-rename'
+           )
+source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.xz)
 arch=(any)
-sha256sums=('fa0fbda880314c1e474f5b102b0ea6d7aa0ec187c9a5f31fac36ca8096e05c03')
+sha256sums=('5f97f3eeff50fdc3c5fd2aaa251f50a73acb08116d97bddfa35adf600bc427bb')
 
 package() {
   cd "$srcdir/netcfg-${pkgver}"
   make DESTDIR="$pkgdir" install
   install -D -m644 LICENSE "$pkgdir/usr/share/licenses/netcfg/LICENSE"
+
+  # Shell Completion
+  install -D -m644 contrib/bash-completion "$pkgdir/etc/bash_completion.d/netcfg"
+  install -D -m644 contrib/zsh-completion "$pkgdir/usr/share/zsh/site-functions/_netcfg"
 }



More information about the arch-commits mailing list