[arch-commits] Commit in netcfg/repos (extra-any extra-any/PKGBUILD)
Florian Pritz
bluewind at nymeria.archlinux.org
Tue Apr 23 10:00:08 UTC 2013
Date: Tuesday, April 23, 2013 @ 12:00:08
Author: bluewind
Revision: 183557
archrelease: copy trunk to extra-any
Added:
netcfg/repos/extra-any/
netcfg/repos/extra-any/PKGBUILD
(from rev 183556, netcfg/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: netcfg/repos/extra-any/PKGBUILD (from rev 183556, netcfg/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2013-04-23 10:00:08 UTC (rev 183557)
@@ -0,0 +1,36 @@
+# Maintainer: Jouke Witteveen <j.witteveen at gmail.com>
+
+pkgname=netcfg
+pkgver=3.0
+pkgrel=2
+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=('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