22 lines
639 B
Plaintext
22 lines
639 B
Plaintext
# Description: provides the links of Python 2 for the class GObject of GLib.
|
|
# URL: http://www.gnome.org/
|
|
# Packager: pierre at nutyx dot org
|
|
# Depends on: python-cairo xorg-libxxf86vm gobject-introspection
|
|
|
|
name=python-gobject2
|
|
version=2.28.6
|
|
release=1
|
|
|
|
source=( http://ftp.gnome.org/pub/gnome/sources/pygobject/${version%.*}/pygobject-$version.tar.xz
|
|
pygobject-2.28.6-fixes-1.patch
|
|
pygobject-2.16.1-fixdetection.patch)
|
|
|
|
build() {
|
|
cd pygobject-$version
|
|
patch -Np1 -i $SRC/pygobject-2.28.6-fixes-1.patch
|
|
patch -Np1 -i $SRC/pygobject-2.16.1-fixdetection.patch
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|