milis/talimatname/genel/python-gobject2/talimat

22 lines
639 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: provides the links of Python 2 for the class GObject of GLib.
# URL: http://www.gnome.org/
# Packager: pierre at nutyx dot org
2016-10-28 20:20:52 +02:00
# Depends on: python-cairo xorg-libxxf86vm gobject-introspection
2016-02-24 01:27:23 +01:00
name=python-gobject2
version=2.28.6
release=1
2016-10-28 20:20:52 +02:00
source=( http://ftp.gnome.org/pub/gnome/sources/pygobject/${version%.*}/pygobject-$version.tar.xz
2016-10-28 20:29:13 +02:00
pygobject-2.28.6-fixes-1.patch
pygobject-2.16.1-fixdetection.patch)
2016-02-24 01:27:23 +01:00
build() {
cd pygobject-$version
2016-10-28 20:20:52 +02:00
patch -Np1 -i $SRC/pygobject-2.28.6-fixes-1.patch
2016-10-28 20:29:13 +02:00
patch -Np1 -i $SRC/pygobject-2.16.1-fixdetection.patch
2016-10-28 20:20:52 +02:00
./configure --prefix=/usr
2016-02-24 01:27:23 +01:00
make
make DESTDIR=$PKG install
}