Files
ports/core/python3-gobject3/spkgbuild
2019-09-20 00:05:12 +08:00

22 lines
453 B
Plaintext
Executable File

# description : Python3 bindings for PyGObject3
# depends : python-gobject3-common
name=python3-gobject3
version=3.34.0
release=1
source=(https://ftp.gnome.org/pub/gnome/sources/pygobject/${version::4}/pygobject-$version.tar.xz)
md5sum=(ca1dc4f31c1d6d283758e8f315a88ab6)
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/}
}