summaryrefslogtreecommitdiffstats
path: root/network-manager-applet/Pkgfile
blob: d34ba87b92586f4c655074afa6ceab4a97918215 (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
# 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, iso-codes
# Run on: networkmanager,libgnome-keyring,polkit-gnome,gtk3,notification-daemon,libnotify,gnome-icon-theme,gconf,gnome-bluetooth,mobile-broadband-provider-info,iso-codes

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

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libexecdir=/usr/lib/networkmanager \
		--with-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
}