mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-08 10:20:32 +00:00
24 lines
495 B
Plaintext
Executable File
24 lines
495 B
Plaintext
Executable File
# description : Python2 bindings for the core components of the GNOME Accessibility
|
|
# depends : at-spi2-core python2-gobject3 python3-gobject3
|
|
|
|
name=python2-atspi
|
|
version=2.36.0
|
|
release=1
|
|
source="https://ftp.gnome.org/pub/gnome/sources/pyatspi/${version::4}/pyatspi-$version.tar.xz"
|
|
|
|
build() {
|
|
cd pyatspi-$version
|
|
|
|
cat > which <<EOF
|
|
#!/bin/sh
|
|
type -p \$1
|
|
EOF
|
|
|
|
chmod +x which
|
|
export PATH=$PATH:$PWD
|
|
|
|
./configure --prefix=/usr --with-python=/usr/bin/python2
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|