[arch-commits] Commit in netcfg/repos (testing-any testing-any/PKGBUILD)

Florian Pritz bluewind at archlinux.org
Wed Sep 26 18:54:27 UTC 2012


    Date: Wednesday, September 26, 2012 @ 14:54:26
  Author: bluewind
Revision: 167173

archrelease: copy trunk to testing-any

Added:
  netcfg/repos/testing-any/
  netcfg/repos/testing-any/PKGBUILD
    (from rev 167172, netcfg/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: netcfg/repos/testing-any/PKGBUILD (from rev 167172, netcfg/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-09-26 18:54:26 UTC (rev 167173)
@@ -0,0 +1,36 @@
+# Maintainer: Jouke Witteveen <j.witteveen at gmail.com>
+
+pkgname=netcfg
+pkgver=2.8.11
+pkgrel=1
+pkgdesc="Network configuration and profile scripts"
+url="http://archlinux.org/netcfg/"
+license=("BSD")
+backup=(etc/iftab etc/conf.d/netcfg)
+depends=("coreutils" "dhcpcd" "iproute2")
+#makedepends=('asciidoc')  # The source tarball includes pre-built documentation.
+optdepends=('dialog: for the menu based profile and wifi selectors'
+            'wpa_supplicant: for wireless networking support'
+            'ifplugd: for automatic wired connections through net-auto-wired'
+            'wpa_actiond: for automatic wireless connections through net-auto-wireless'
+            'wireless_tools: for interface renaming through net-rename'
+            'ifenslave: for bond connections'
+            'bridge-utils: for bridge connections'
+           )
+source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.xz)
+arch=(any)
+md5sums=('f2df46de696aac36f67bd1479eadf259')
+
+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/usr/share/bash-completion/completions/netcfg"
+  install -D -m644 contrib/zsh-completion "$pkgdir/usr/share/zsh/site-functions/_netcfg"
+
+  # Compatibility
+  ln -s netcfg.service "$pkgdir/usr/lib/systemd/system/net-profiles.service"
+}
+




More information about the arch-commits mailing list