summaryrefslogtreecommitdiffstats
path: root/gnome/gnome-control-center/Pkgfile
blob: 50ee97fdc6bf61fddf58d40e0969b7c9a0b16a6e (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
30
31
32
33
34
# Description: Contient le gestionnaire de reglages de gnome
# URL: http://www.gnome.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gst-plugins-base, libcanberra, libgnomekbd, gnome-panel, metacity, nautilus, hal, gnome-settings-daemon, evolution-data-server

name=gnome-control-center
version=2.26.0
release=2
source=(http://ftp.gnome.org/pub/gnome/sources/$name/2.26/$name-$version.tar.bz2\
	gnome-control-center-2.26.0-libxklavier-4.0-1.patch)

build() {
	cd $name-$version
	patch -Np1 -i ../gnome-control-center-2.26.0-libxklavier-4.0-1.patch
	./configure --prefix=$GNOME_PREFIX \
		--sysconfdir=/etc \
		--enable-aboutme \
		--localstatedir=/var/lib \
		--libexecdir=$GNOME_PREFIX/lib/gnome-control-center
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/var
	cd $PKG/$GNOME_PREFIX/share/mime/
	for i in application packages
		do mv $i ../
	done
	
	rm *
	for i in application packages
		do mv ../$i .
	done
	rm $PKG/usr/share/applications/mimeinfo.cache
}