Files
ports/core/python3-gobject3/spkgbuild
2019-06-28 22:39:15 +08:00

22 lines
453 B
Plaintext
Executable File

# description : Python3 bindings for PyGObject3
# depends : python-gobject3-common
name=python3-gobject3
version=3.32.2
release=1
source=(https://ftp.gnome.org/pub/gnome/sources/pygobject/${version::4}/pygobject-$version.tar.xz)
md5sum=(92ffa25351782feb96362f0dace2089f)
build() {
cd pygobject-$version
mkdir build
cd build
meson --prefix=/usr -Dpython=python3 ..
ninja
DESTDIR=$PKG ninja install
rm -fr $PKG/usr/{include/,lib/pkgconfig/}
}