Files
ports/core/python3-atspi/spkgbuild
2021-02-05 13:11:33 +08:00

24 lines
478 B
Plaintext
Executable File

# description : Python3 bindings for the core components of the GNOME Accessibility
# depends : at-spi2-core python3-gobject3
name=python3-atspi
version=2.38.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/python3
make
make DESTDIR=$PKG install
}