summaryrefslogtreecommitdiffstats
path: root/network-manager-applet/Pkgfile
blob: fc12dd59734d82f0eb55c9053ae6b6314e49fb6f (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
26
27
28
29
# Description: Interface GNOME pour NetworkManager
# URL: http://www.gnome.org/projects/NetworkManager/
# Maintainer: NuTyX Gnome team
# Packager: piernov <piernov@piernov.org>
# Depends on: networkmanager, libgnome-keyring, polkit-gnome, gtk3, notification-daemon, libnotify, gnome-icon-theme, gconf, gnome-bluetooth, mobile-broadband-provider-info
# Run on: networkmanager,libgnome-keyring,polkit-gnome,gtk3,notification-daemon,libnotify,gnome-icon-theme,gconf,gnome-bluetooth,mobile-broadband-provider-info

name=network-manager-applet
version=0.9.0
release=1
source=(http://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz )

build() {
	cd $name-$version
	sed -i "s/-Werror//" configure
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libexecdir=/usr/lib/networkmanager \
		--without-bluetooth \
		--disable-schemas-install
	make
	make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$PKG install

	install -m755 -d $PKG/usr/share/gconf/schemas
	gconf-merge-schema $PKG/usr/share/gconf/schemas/$name.schemas --domain nm-applet $PKG/etc/gconf/schemas/*.schemas
	rm -f $PKG/etc/gconf/schemas/*.schemas
}