summaryrefslogtreecommitdiff
path: root/repo/python/python-gobject/python-gobject.xibuild
blob: 348724a14836c7479e950a50e1c38f8bc37e66e6 (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-cairo 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
}