# Maintainer: Jose Riha < jose 1711 gmail com > # Maintainer: Carlos Aznarán # Contributor: Thom Wiggers _base=pympress pkgname=python-${_base} pkgdesc="Simple and powerful dual-screen PDF reader designed for presentations" pkgver=1.8.5 pkgrel=2 arch=(any) url="https://github.com/Cimbali/${_base}" license=(GPL-2.0-or-later) depends=(poppler-glib gtk3 python-cairo gdk-pixbuf2 python-gobject gobject-introspection python-watchdog perl-x11-protocol perl-net-dbus) makedepends=(python-build python-installer python-setuptools python-wheel python-babel) optdepends=('vlc: for playing videos' 'python-vlc: for playing videos' 'gstreamer: for playing videos' 'gst-plugin-gtk: for playing videos') source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) sha512sums=('e110d99935a43f7b4b36581993247c8f44cb214759a98017f8d49f9aadcb998528787154a0c6e53d39c1da650df8a314513af06482b1dc145ea020dd278f4aea') build() { cd ${_base}-${pkgver} python -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${_base}-${pkgver} PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl }