Files
ports/main/python3-atspi/spkgbuild
2022-11-22 20:01:41 +00:00

19 lines
545 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="$name-$version.tar.gz::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
}