summaryrefslogtreecommitdiffstats
path: root/abs/not_built/core/netcfg/PKGBUILD
blob: 7e7ea7bf359cd7874a7aa8ba18b6fabe94158844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 126281 2011-06-04 04:21:49Z eric $
# Maintainer: James Rayner <james@archlinux.org>

pkgname=netcfg
pkgver=2.5.5
pkgrel=1
pkgdesc="Network configuration and profile scripts"
url="http://archlinux.org"
license=("BSD")
backup=(etc/iftab)
depends=(wireless_tools coreutils "wpa_supplicant>=0.6.8" net-tools "dhcpcd>=4.0" "iproute2")
optdepends=('dialog: Required for menu based profile selector'
            'wpa_actiond: Required for automatic wireless connection with rc.d/net-auto-wireless'
            'ifplugd: Required for automatic wired connection with rc.d/net-auto-wired')
source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.gz)
arch=(any)
md5sums=('6e98bae291eb206d92f9a92bbab8fe80')

package() {
  cd "$srcdir/netcfg-${pkgver}"

  make DESTDIR="$pkgdir" install
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/netcfg/LICENSE"
  ln -s /usr/lib/network/connections/wireless "$pkgdir/usr/lib/network/connections/wireless-dbus"
  ln -s /usr/bin/netcfg2 "$pkgdir/usr/bin/netcfg"
}