summaryrefslogtreecommitdiffstats
path: root/gobject-introspection/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gobject-introspection/Pkgfile')
-rw-r--r--gobject-introspection/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/gobject-introspection/Pkgfile b/gobject-introspection/Pkgfile
new file mode 100644
index 000000000..1f66f307a
--- /dev/null
+++ b/gobject-introspection/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Est utilisé pour décrire l'API et les collecte d'une façon uniforme en format lisible par la machine
+# URL: http://live.gnome.org/GObjectIntrospection
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: cairo
+# Run on: cairo
+
+name=gobject-introspection
+version=1.30.0
+release=1
+source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
+
+build() {
+ cd $name-$version
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/share/gtk-doc
+ sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" $PKG/usr/lib/gobject-introspection/giscanner/*.py
+}