summaryrefslogtreecommitdiffstats
path: root/abs/core/netcfg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/netcfg/PKGBUILD')
-rw-r--r--abs/core/netcfg/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core/netcfg/PKGBUILD b/abs/core/netcfg/PKGBUILD
new file mode 100644
index 0000000..de024a2
--- /dev/null
+++ b/abs/core/netcfg/PKGBUILD
@@ -0,0 +1,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
+}