Files
ports/core/python2-gobject3/spkgbuild
2020-04-13 14:53:21 +08:00

21 lines
405 B
Plaintext
Executable File

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