summaryrefslogtreecommitdiffstats
path: root/pygobject3/Pkgfile
blob: d8f1a6b84175dd98eca64cbcb2d4d7acd85213aa (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
# Description: Connecteur Python pour GObject
# URL: http://www.pygtk.org/
# Maintainer: NutyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gobject-introspection, pycairo, py2cairo
# Run on: pycairo,py2cairo

name=pygobject3
version=3.2.2
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/${name%3}/${version%.*}/${name%3}-$version.tar.xz)

build() {
	export PYTHONPATH=/usr/lib/python2.7/site-packages
	cd ${name%3}-$version

	PYTHON=/usr/bin/python2 ./configure --prefix=/usr
	make
	make DESTDIR=$PKG install

	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install

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