# Maintainer: Jeremy Gust # Contributor: Luis Martinez # Contributor: Batuhan Baserdem pkgname=maestral-qt pkgver=1.9.3 pkgrel=1 pkgdesc='A Qt interface for the Maestral daemon' arch=('any') url="https://github.com/SamSchott/maestral-qt" license=('MIT') depends=("maestral=$pkgver" 'python' 'python-click' 'python-markdown2' 'python-packaging' 'python-pyqt6' 'python-pyro5' 'qt6-svg') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') optdepends=('gnome-shell-extension-appindicator: Gnome integration') source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('7c6dbc43be97d8c90f0a8d241f88db7196ef561656fe076e576c2dcf35e7b255') build() { cd "$pkgname-$pkgver" python -m build --wheel --no-isolation } package() { cd "$pkgname-$pkgver" python -m installer --destdir="${pkgdir}/" dist/*.whl install -Dvm644 LICENSE.txt "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" }