mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-28 18:20:12 +00:00
20 lines
488 B
Plaintext
Executable File
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}
|
|
}
|