summaryrefslogtreecommitdiffstats
path: root/gnome/gnome-control-center/Pkgfile
blob: aa02aa17391c6a89e095659f1ae7542f7e070668 (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
# 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

name=gnome-control-center
version=2.28.1
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
}