summaryrefslogtreecommitdiffstats
path: root/gnome-shell/Pkgfile
blob: c86a89ab186d1c2ef1021f4a4f8c9a084cc46462 (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
35
# Description: Le GNOME Shell nouvelle génération
# URL: http://live.gnome.org/GnomeShell
# Maintainer: NuTyX GNOME team
# Packager: piernov <piernov@piernov.org>
# Depends on: gnome, mutter, gjs, telepathy-glib, telepathy-logger
# Run on: gnome,mutter,gjs,telepathy-glib,telepathy-logger

name=gnome-shell
version=3.1.3
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
	favorite-apps.patch)

build() {
	cd $name-$version
	patch -p1 < ../favorite-apps.patch

	sed "s/Meta-3.0/Meta-3.1/" -i src/Makefile.am
	sed "s/Meta-3.0/Meta-3.1/" -i src/Makefile.in

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/gnome-shell \
		--localstatedir=/var \
		--disable-schemas-compile \
		--disable-gtk-doc
	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 $name $PKG/etc/gconf/schemas/*.schemas
	rm -f $PKG/etc/gconf/schemas/*.schemas

        rm -rf $PKG/usr/share/gtk-doc
}