summaryrefslogtreecommitdiffstats
path: root/network-manager-applet/Pkgfile
blob: a885f41236a9c7323ee0b5dbc2cac8b291feb3d4 (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 
# Run on: networkmanager, libgnome-keyring, polkit-gnome, gtk3, notification-daemon, libnotify, gnome-icon-theme, gconf

name=network-manager-applet
version=0.8.9997
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
}