mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:47:21 +08:00
28 lines
1014 B
Bash
28 lines
1014 B
Bash
# $Id: PKGBUILD 69599 2010-02-21 12:20:41Z james $
|
|
# Maintainer: James Rayner <james@archlinux.org>
|
|
pkgname=netcfg
|
|
pkgver=2.5.4
|
|
pkgrel=2
|
|
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)
|
|
|
|
build() {
|
|
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
|
|
}
|
|
|
|
md5sums=('7eb254f04a2d27884d896a2b91fc6991')
|