summaryrefslogtreecommitdiffstats
path: root/glib/Pkgfile
blob: feb7c18a6b0fd6fb92ac739b593b59e985299751 (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
# Description: Bibliothèque bas niveau utilisée par de nombreux paquets gtk et autres
# URL: http://www.gtk.org/
# Maintainer: git.gnome.org/browse/glib/
# Packager: thierryn1 at hispeed dot ch
# Depends on: expat
# Run on: expat

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

build () {
	cd $name-$version
	export PYTHON=python2
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--with-pcre=system \
		--disable-fam
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
	sed -i -e "s|#!/usr/bin/env python|#!/usr/bin/env python2|" $PKG/usr/bin/gdbus-codegen
}