PKGBUILDs/core/netcfg/PKGBUILD
2009-09-26 11:30:17 -05:00

28 lines
897 B
Bash

# Maintainer: James Rayner <james@archlinux.org>
# Modified by OpenPogo
pkgname=netcfg
pkgver=2.2.1
pkgrel=1
pkgdesc="Network configuration and profile scripts"
url="http://archlinux.org"
license=("BSD")
arch=('arm')
backup=(opt/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' \
'dbus-python: For wireless connection using wpa_supplicant/dbus')
source=('ftp://ftp.archlinux.org/other/netcfg/netcfg-$pkgver.tar.gz'
'Makefile')
md5sums=('77a2d8be72debb2b9726dae19c67e98d'
'081253f522ca0d58ad240844280d661c')
build() {
cd $startdir/src/netcfg-$pkgver
rm Makefile
cp $srcdir/Makefile .
make DESTDIR=$startdir/pkg/opt install
make DESTDIR=$startdir/pkg/opt install-wireless
install -D -m644 LICENSE $startdir/pkg/opt/share/licenses/netcfg/LICENSE
}