1 # Maintainer: Det <nimetonmaili at gmail a-dot com>
2 # Contributor: Petr Novák <n_petr at seznam dot cz>
3 # Based on the networkmanager package trunk
5 _pkgbase=networkmanager
6 pkgname=networkmanager-beta
9 pkgdesc="Network Management daemon"
10 arch=('i686' 'x86_64')
12 url="http://www.gnome.org/projects/NetworkManager/"
13 depends=('dbus-glib' 'iproute2' 'libnl' 'nss' 'polkit' 'udev' 'wireless_tools' 'wpa_supplicant' 'ppp' 'dhcpcd')
14 makedepends=('intltool' 'dhclient' 'iptables')
15 optdepends=('modemmanager: for modem management service'
16 'dhclient: alternative DHCP/DHCPv6 client'
17 'iptables: Connection sharing'
18 'dnsmasq: Connection sharing'
19 'bluez: Bluetooth support')
21 backup=('etc/NetworkManager/NetworkManager.conf')
22 install=networkmanager.install
23 provides=("${_pkgbase}=${pkgver}")
24 conflicts=("${_pkgbase}")
25 source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.8/NetworkManager-${pkgver}.tar.bz2
26 NetworkManager.conf disable_set_hostname.patch)
27 sha256sums=('3ccca66610a4896c5bc17e653dcde70320ed7c8278aa4419507e7221131d8550'
28 '44b048804c7c0b8b3b0c29b8632b6ad613c397d0a1635ec918e10c0fbcdadf21'
29 '1e4586991bc96ef004dc520c794047a336c54433e0bd4edc3879fb6e7ab0e553')
32 cd NetworkManager-${pkgver}
33 patch -Np1 -i ../disable_set_hostname.patch
34 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/networkmanager --with-crypto=nss \
35 --with-distro=arch --with-dhclient=/usr/sbin/dhclient --with-dhcpcd=/sbin/dhcpcd --with-iptables=/usr/sbin/iptables \
36 --disable-static --enable-more-warnings=no --disable-wimax
41 cd NetworkManager-${pkgver}
42 make DESTDIR="${pkgdir}" install
43 install -m644 ../NetworkManager.conf "${pkgdir}/etc/NetworkManager/"