[arch-commits] Commit in netcfg/repos (testing-any testing-any/PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Tue Oct 16 19:48:15 UTC 2012
Date: Tuesday, October 16, 2012 @ 15:48:15
Author: bluewind
Revision: 168950
archrelease: copy trunk to testing-any
Added:
netcfg/repos/testing-any/
netcfg/repos/testing-any/PKGBUILD
(from rev 168949, netcfg/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: netcfg/repos/testing-any/PKGBUILD (from rev 168949, netcfg/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-10-16 19:48:15 UTC (rev 168950)
@@ -0,0 +1,37 @@
+# Maintainer: Jouke Witteveen <j.witteveen at gmail.com>
+
+pkgname=netcfg
+pkgver=3.0
+pkgrel=1
+pkgdesc="Network configuration and profile scripts"
+url="http://archlinux.org/netcfg/"
+license=("BSD")
+backup=(etc/iftab etc/conf.d/netcfg)
+groups=(base)
+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=('e1ba3e48dfd4b145cc4bce933ee128ca')
+
+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