Files
ports/core/python-gobject3-common/spkgbuild
2019-04-21 12:29:46 +08:00

22 lines
492 B
Plaintext
Executable File

# description : Python bindings for PyGObject3 (common files)
# depends : python3-cairo python2-cairo gobject-introspection meson
name=python-gobject3-common
version=3.32.1
release=1
source=(https://ftp.gnome.org/pub/gnome/sources/pygobject/${version::4}/pygobject-$version.tar.xz)
md5sum=(9d5dbca10162dd9b0d03fed0c6cf865d)
build() {
cd pygobject-$version
mkdir build
cd build
meson --prefix=/usr -Dpython=python3 ..
ninja
DESTDIR=$PKG ninja install
rm -fr $PKG/usr/lib/python*
}