summaryrefslogtreecommitdiffstats
path: root/gnome-desktop2/Pkgfile
blob: 2e061410168c1a2934e3a4bc94d4bcaea3067a25 (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
# Description: Bibliothèque contenant une API pour différents modules Gnome2
# URL: http://www.gnome.org/
# Maintainer: NuTyX core team
# Packager: piernov <piernov@piernov.org>
# Depends on: libgnomeui, startup-notification, gnome-doc-utils
# Run on: libgnomeui,startup-notification,rarian

name=gnome-desktop2
version=2.32.1
release=1
source=(http://download.gnome.org/sources/${name%2}/${version%.*}/${name%2}-$version.tar.bz2)

build() {
	cd ${name%2}-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var/lib \
		--with-gnome-distributor="NuTyX" \
		--disable-gtk-doc \
		--disable-scrollkeeper \
		--disable-desktop-docs
	make
	make DESTDIR=$PKG install
	sed 's|#!/usr/bin/python|#!/usr/bin/python2|' -i $PKG/usr/bin/gnome-about
	rm -rf $PKG/usr/share/gtk-doc
	rm -rf $PKG/usr/share/omf/
}