opt/python-gobject-compat/Pkgfile
2018-09-28 18:46:51 +10:00

19 lines
495 B
Plaintext

# Description: Python bindings for GObject (legacy)
# URL: https://wiki.gnome.org/Projects/PyGObject
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: glib
name=python-gobject-compat
version=2.28.7
release=1
source=(https://download.gnome.org/sources/pygobject/${version::4}/pygobject-$version.tar.xz)
build() {
cd pygobject-$version
./configure --prefix=/usr --disable-introspection
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
}