blob: faa7a80f331c0c3248ae389d78147925025acf05 (
plain)
1 # Description: Python bindings for GObject (legacy)
2 # URL: https://wiki.gnome.org/Projects/PyGObject
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: glib
5
6 name=python-gobject-compat
7 version=2.28.7
8 release=2
9 source=(https://download.gnome.org/sources/pygobject/${version::4}/pygobject-$version.tar.xz)
10
11 build() {
12 cd pygobject-$version
13
14 ./configure \
15 --prefix=/usr \
16 --disable-introspection \
17 --disable-docs
18
19 sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
20
21 make
22 make DESTDIR=$PKG install
23
24 rm -r $PKG/usr/share/gtk-doc
25 }
|