mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
897 B
Bash
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
|
|
}
|