summaryrefslogtreecommitdiff
path: root/repo/python-gobject/python-gobject.xibuild
blob: 4e62de27ef569537e1be99a01516bf8b2411ac9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

MAKEDEPS="python python libffi"
DEPS="python libffi cairo glib gobject-introspection musl"

PKG_VER=3.42.0
SOURCE=https://download.gnome.org/sources/pygobject/${PKG_VER%.*}/pygobject-$PKG_VER.tar.xz
DESC="Python bindings for the GObject library"

build() {
    mkdir build &&
    cd build

    meson \
		-Dpython=python3 \
		.. 

    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}