[arch-commits] Commit in netcfg/repos (testing-any testing-any/PKGBUILD)
Thomas Bächler
thomas at archlinux.org
Mon Oct 15 19:14:22 UTC 2012
Date: Monday, October 15, 2012 @ 15:14:22
Author: thomas
Revision: 168764
archrelease: copy trunk to testing-any
Added:
netcfg/repos/testing-any/
netcfg/repos/testing-any/PKGBUILD
(from rev 168763, netcfg/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: netcfg/repos/testing-any/PKGBUILD (from rev 168763, netcfg/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-10-15 19:14:22 UTC (rev 168764)
@@ -0,0 +1,37 @@
+# Maintainer: Jouke Witteveen <j.witteveen at gmail.com>
+
+pkgname=netcfg
+pkgver=2.8.11
+pkgrel=2
+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=('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