summaryrefslogtreecommitdiffstats
path: root/gnome/gnome-control-center/Pkgfile
blob: 9dfbef3093061b5a9df7e221d068f12f8111f1bf (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
# 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: libcanberra, gst-plugins-base, libcanberra, libgnomekbd, gnome-panel, metacity, nautilus, hal, gnome-settings-daemon, evolution-data-server
# Run on:

name=gnome-control-center
version=2.30.0
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2)

build() {
	cd $name-$version
	./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
}