summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d583972c063628978730c125bf25eaf58d2fb7a7 (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
30
31
32
33
34
35
36
37
# Maintainer: AlphaJack <alphajack at tuta dot io>

pkgname="greenpass"
pkgver=4.3.1
pkgrel=1
pkgdesc="Scriptable green pass / Digital Covid Certificate verifier"
url="https://github.com/berdav/greenpass"
license=("LGPL3")
arch=("any")
depends=("python-base45"
         "python-bs4"
         "python-cbor2"
         "python-colorama"
         "python-pycose"
         "python-pillow"
         "python-pyasn1"
         "python-pymupdf"
         "python-pyopenssl"
         "python-pytz"
         "python-requests"
         "python-termcolor"
         "python-tzlocal"
         "pyzbar"
        )
makedepends=("python-build" "python-installer" "python-wheel" "python-setuptools")
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('8d8d6c47e57459b8f549661446ee33d554b74ac4ea8bc594089fa916a596d9e3')

build(){
 cd "$pkgname-$pkgver"
 python -m build --wheel --no-isolation
}

package(){
 cd "$pkgname-$pkgver"
 python -m installer --destdir="$pkgdir" dist/*.whl
}