24 lines
718 B
Bash
24 lines
718 B
Bash
|
# Maintainer: Sebastian Hugentobler <shu@vanwa.ch>
|
||
|
pkgname=python-ocma
|
||
|
_gitpkgname=openconnect-ms-auth
|
||
|
pkgver=0.2.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Authenticate with your MFA enabled Microsoft-Account to the openconnect VPN client."
|
||
|
arch=("any")
|
||
|
url="https://git.snas.black-burn.ch/FHNW/openconnect-ms-auth"
|
||
|
license=("MIT")
|
||
|
depends=("python-selenium" "python-otppy" "geckodriver")
|
||
|
makedepends=("python-poetry")
|
||
|
source=("https://git.snas.black-burn.ch/FHNW/openconnect-ms-auth/archive/$pkgver.tar.gz")
|
||
|
sha256sums=("613cc7a82887956badb0c3ca5c94c49fa25868337d976f30f6aa76ae6e129925")
|
||
|
|
||
|
build() {
|
||
|
cd "$_gitpkgname"
|
||
|
poetry build --format=wheel
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$_gitpkgname"
|
||
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||
|
}
|