blob: de024a256e066857bf5aac51aa7c075930528328 (
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
|
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: James Rayner <james@archlinux.org>
pkgname=netcfg
pkgver=2.0.6
pkgrel=1
pkgdesc="Network configuration and profile scripts"
url="http://archlinux.org"
license=("BSD")
backup=(etc/iftab)
depends=(wireless_tools wpa_supplicant net-tools mktemp)
source=(http://dev.archlinux.org/~james/netcfg/netcfg-$pkgver.tar.gz)
md5sums=('8bf6861e800a5b35f9f8ee4db8e07151')
#source=(netcfg-$pkgver.tar.gz)
arch=(i686 x86_64)
build() {
cd $startdir/src/netcfg-$pkgver
sed -i 's|/man/|/share/man/|' Makefile
make DESTDIR=$startdir/pkg install
make DESTDIR=$startdir/pkg install-contrib
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/netcfg/LICENSE
# Uncomment once initscripts patch merged
# ln -s /usr/bin/netcfg2 $startdir/pkg/usr/bin/netcfg
}
|