python-ocma/PKGBUILD

24 lines
718 B
Bash
Raw Normal View History

2023-06-22 07:47:56 +00:00
# Maintainer: Sebastian Hugentobler <shu@vanwa.ch>
pkgname=python-ocma
_gitpkgname=openconnect-ms-auth
2023-09-27 11:12:25 +00:00
pkgver=0.3.0
2023-06-22 07:47:56 +00:00
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")
2023-09-27 11:12:25 +00:00
sha256sums=("d56956b01b2e507da925877a099c8df23ace5205fc05cb99475dc80d2ace3670")
2023-06-22 07:47:56 +00:00
build() {
cd "$_gitpkgname"
poetry build --format=wheel
}
package() {
cd "$_gitpkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
}