1 # Contributor: Abhishek Dasgupta <abhidg@gmail.com>
2 # Original-Package: networkmanager
3 # Maintainer: Jan de Groot <jgc@archlinxu.org>
4 # Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
5 # Contributor: Tor Krill <tor@krill.nu>
6 # Contributor: Will Rea <sillywilly@gmail.com>
7 # Contributor: Valentine Sinitsyn <e_val@inbox.ru>
9 pkgname=networkmanager-notify-osd
12 pkgdesc="Network Management daemon"
13 arch=('i686' 'x86_64')
15 url="http://www.gnome.org/projects/NetworkManager/"
16 depends=('wireless_tools' 'iproute' 'hal>=0.5.11-7' 'libnl>=1.1' 'ppp' 'dhcpcd>=4.0' 'wpa_supplicant>=0.5.11' "libnetworkmanager-notify-osd>=${pkgver}")
17 makedepends=('pkgconfig' 'perlxml')
18 options=('!libtool' '!makeflags')
19 backup=('etc/NetworkManager/nm-system-settings.conf')
20 conflicts=(networkmanager)
21 provides=(networkmanager)
22 #source=(http://archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_0.7.1~rc3.1.git4cf2da146.orig.tar.gz
23 # nm-system-settings.conf)
24 source=(http://ftp.gnome.org/pub/gnome/sources/NetworkManager/0.7/NetworkManager-${pkgver}.tar.bz2
25 nm-system-settings.conf)
28 cd "$srcdir/NetworkManager-$pkgver"
29 ./configure --prefix=/usr --sysconfdir=/etc \
30 --with-distro=arch --localstatedir=/var \
31 --libexecdir=/usr/lib/networkmanager \
32 --disable-static --with-dhcp-client=dhcpcd \
33 --with-crypto=nss || return 1
36 sed -i -e 's/\slibnm-util\s/ /' -e 's/\slibnm-glib\s/ /' -e 's/\sinclude/ /' Makefile || return 1
37 make DESTDIR="${pkgdir}" install || return 1
38 install -d -m755 "${pkgdir}/usr/bin"
39 install -m755 test/.libs/nm-tool "${pkgdir}/usr/bin/" || return 1
40 install -m644 "${srcdir}/nm-system-settings.conf" "${pkgdir}/etc/NetworkManager/" || return 1
44 md5sums=('954742cfd47191204d62d8d57f2bc6dd'
45 '1653159d6634fb62d3a5c548b7a56151')