# Contributor: Ivan Tham # Maintainer: Ivan Tham pkgname=py3-pyautogui _pkgname=PyAutoGUI # upstream does not tag releases https://github.com/asweigart/pyautogui/issues/270 _commit=bd5f3bfa7a4f035cf58d80033730c678b5b077d8 pkgver=0.9.47 pkgrel=0 pkgdesc="A cross-platform Python module for GUI automation for human beings" url="https://pyautogui.readthedocs.io/" arch="noarch" license="BSD-3-Clause" depends="py3-xlib py3-pillow" makedepends="py3-setuptools xvfb-run" source="$_pkgname-$_commit.tar.gz::https://github.com/asweigart/pyautogui/archive/$_commit.tar.gz" builddir="$srcdir/pyautogui-$_commit" replaces="py-pyautogui" # Backwards compatibility provides="py-pyautogui=$pkgver-r$pkgrel" # Backwards compatibility build() { xvfb-run python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="aeba59111d66c3b8470834fb6f5d01fd682ea73f210283031e14950149308576254d84cfc3fe7b8c2ce41780f272a81169b46a8d55182e2db926f1fab0951a00 PyAutoGUI-bd5f3bfa7a4f035cf58d80033730c678b5b077d8.tar.gz"