36 lines
830 B
Bash
36 lines
830 B
Bash
#!/usr/bin/env bash
|
|
name='py3-pygobject'
|
|
release='3'
|
|
version='3.56.2'
|
|
url='Python bindings for GObject Introspection'
|
|
description='Python bindings for GObject Introspection'
|
|
email='bayramk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3')
|
|
source=("https://gitlab.gnome.org/GNOME/pygobject/-/archive/$version/pygobject-$version.tar.gz")
|
|
pyver=$(python -c "import sys; print(str( sys.version_info[0]) +\".\"+ str(sys.version_info[1] ))")
|
|
depends=(python"$pyver" gobject-introspection py3-cairo)
|
|
makedepends=()
|
|
sha256sums=('2132deca4ffde99933affdbcd2201f064e70ce3fc7877eac062ceb92ef95b8c2')
|
|
group=(dev.python)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd pygobject-$version
|
|
|
|
unset meson
|
|
|
|
setup(){
|
|
meson setup build --prefix=/usr \
|
|
-Dtests=false \
|
|
-Dpycairo=enabled
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install
|
|
}
|