1 # Maintainer: James Rayner <james@archlinux.org>
6 pkgdesc="Network configuration and profile scripts"
7 url="http://archlinux.org"
11 depends=('wireless_tools' 'coreutils' 'wpa_supplicant' 'net-tools' 'dhcpcd' 'iproute2')
12 optdepends=("dialog: Required for menu based profile selector"
13 "wpa_actiond: Required for automatic wireless connection with rc.d/net-auto-wireless"
14 "ifplugd: Required for automatic wired connection with rc.d/net-auto-wired")
19 _gitroot="git://projects.archlinux.org/${_gitname}.git"
23 msg "Connecting to ${_gitroot} GIT server...."
24 if [[ -d ${srcdir}/${_gitname} ]] ; then
27 msg "The local files are updated."
31 msg "GIT checkout done"
35 cd ${srcdir}/${_gitname}
36 sed -i 's|/man/|/share/man/|' Makefile
37 make DESTDIR=${pkgdir} install
38 install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/netcfg/LICENSE
39 ln -s /usr/bin/netcfg2 ${pkgdir}/usr/bin/netcfg
44 # vim:set ts=4 sw=4 et: