Files
ports/main/python3-atspi/spkgbuild
2021-12-10 23:59:17 +08:00

19 lines
522 B
Plaintext
Executable File

# description : Python3 bindings for the core components of the GNOME Accessibility
# depends : at-spi2-core python3-gobject3
name=python3-atspi
_name=${name#*-}
_n=${_name%${_name#?}}
version=2.38.2
release=1
#source="https://ftp.gnome.org/pub/gnome/sources/pyatspi/$_n/pyatspi-$version.tar.xz"
source="https://download-fallback.gnome.org/sources/pyatspi/${version%.*}/pyatspi-$version.tar.xz"
build() {
cd pyatspi-$version
./configure --prefix=/usr --with-python=/usr/bin/python3
make
make DESTDIR=$PKG install
}