summaryrefslogtreecommitdiff
path: root/python3-gobject/Pkgfile
blob: 7d463afc4a2fbb7a29799f38814d1b821eaae909 (plain)
    1 # Description: Python bindings for GLib/GObject/GIO/GTK+/GStreamer
    2 # URL: https://wiki.gnome.org/Projects/PyGObject
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: gobject-introspection python3-cairo
    5 
    6 name=python3-gobject
    7 version=3.38.0
    8 release=1
    9 source=(https://ftp.gnome.org/pub/GNOME/sources/pygobject/${version::4}/pygobject-$version.tar.xz)
   10 
   11 build() {
   12 	meson pygobject-$version build --prefix /usr -D python=/usr/bin/python3
   13 	ninja -C build -j ${JOBS-1}
   14 	DESTDIR=$PKG meson install -C build
   15 
   16 	/usr/bin/python3 -m compileall -d /usr/lib $PKG/usr/lib
   17 	/usr/bin/python3 -O -m compileall -d /usr/lib $PKG/usr/lib
   18 }

Generated by cgit