Files
ports/core/python2-gobject3/spkgbuild
2018-04-26 09:44:16 +08:00

21 lines
492 B
Plaintext
Executable File

# description : Python2 bindings for PyGObject3
# makedepends : python2-cairo gobject-introspection
name=python2-gobject3
version=3.28.2
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/${version::4}/pygobject-$version.tar.xz)
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}
}
md5sum=(bda3178850e3ae886eef3acc7056b51a)