Files
ports/core/python2-gobject3/spkgbuild
2018-08-06 16:33:05 +08:00

20 lines
488 B
Plaintext
Executable File

# description : Python2 bindings for PyGObject3
# depends : python2-cairo gobject-introspection
name=python2-gobject3
version=3.28.3
release=1
source=(https://ftp.gnome.org/pub/gnome/sources/pygobject/${version::4}/pygobject-$version.tar.xz)
md5sum=(3bac63c86bb963aa401f97859464aa90)
build() {
cd pygobject-$version
./configure --prefix=/usr --with-python=/usr/bin/python2
make
make DESTDIR=$PKG install
# conflict with python3-gobject3
rm -r $PKG/usr/{lib/pkgconfig,include}
}