initial commit

This commit is contained in:
Sebastian Hugentobler 2023-06-22 09:47:56 +02:00
commit bdf01a37ce
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 27 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*~
.DS_Store
*.pkg.tar.zst
*.pkg.tar.zst.sig

23
PKGBUILD Normal file
View File

@ -0,0 +1,23 @@
# 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
}