aboutsummaryrefslogtreecommitdiffstats
path: root/community/pdfposter/APKBUILD
blob: 9e8a9abaee51ab8b812350a99fa7298370c3c070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=pdfposter
pkgver=0.8.1
pkgrel=0
pkgdesc="Tool for scaling and tiling PDFs to multiple pages for printing"
url="https://gitlab.com/pdftools/pdfposter/"
arch="noarch"
license="GPL-3.0-only"
depends="py3-pypdf2 python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://gitlab.com/pdftools/pdfposter/-/archive/v$pkgver/pdfposter-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver/"

build() {
	python3 setup.py build
}

check() {
	python3 -m pytest test/unit
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir" --optimize=1
}
sha512sums="
a457b966ccc1239ed4a1aa06ef7d11d40e2499321e1ad51269f7bb00ff51ed8db3fd27a79fbb3051450044a81aa44c793606fb431664eef707fd0d4251de3ac9  pdfposter-v0.8.1.tar.gz
"