# Maintainer: Antoni Aloy pkgname=pdfarranger pkgver=1.11.0 pkgrel=0 pkgdesc="Helps merge or split PDF documents and rotate, crop and rearrange pages" url="https://github.com/pdfarranger/pdfarranger" arch="noarch" license="GPL-3.0-or-later" depends=" desktop-file-utils ghostscript gsettings-desktop-schemas gtk+3.0 poppler-glib py3-atspi py3-cairo py3-dateutil py3-gobject3 py3-img2pdf py3-pikepdf " makedepends=" intltool py3-gpep517 py3-setuptools py3-wheel " options="!check" # tests require dogtail package subpackages="$pkgname-lang $pkgname-doc $pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/pdfarranger/pdfarranger/archive/$pkgver.tar.gz" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" b5eb91ea0157453928e908fb13857929364d3cb0fa6872c1a2c2a60f654bebdeaf88da483071e52727dc1943f972fa78e919e4b46a63a131795018c125dfee48 pdfarranger-1.11.0.tar.gz "