initial commit
This commit is contained in:
commit
bdf01a37ce
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
*~
|
||||
.DS_Store
|
||||
*.pkg.tar.zst
|
||||
*.pkg.tar.zst.sig
|
23
PKGBUILD
Normal file
23
PKGBUILD
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user