initial commit
This commit is contained in:
commit
77de5f2528
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
*~
|
||||
.DS_Store
|
||||
*.pkg.tar.zst
|
||||
*.pkg.tar.zst.sig
|
22
PKGBUILD
Normal file
22
PKGBUILD
Normal file
@ -0,0 +1,22 @@
|
||||
# Maintainer: Sebastian Hugentobler <shu@vanwa.ch>
|
||||
pkgname=python-otppy
|
||||
_gitpkgname=OTPpy
|
||||
pkgver=0.1.2
|
||||
pkgrel=1
|
||||
pkgdesc="OTP library for Python3: HOTP and TOTP ( RFC4226 & RFC6238)."
|
||||
arch=("any")
|
||||
url="https://github.com/bitlogik/OTPpy"
|
||||
license=("GPL3")
|
||||
makedepends=("python-setuptools")
|
||||
source=("https://github.com/bitlogik/OTPpy/archive/refs/tags/$pkgver.tar.gz")
|
||||
sha256sums=('3d34d94ffde40e40a5ecde25209ecd6686522d04c4e4cf6c81aa50f5c17f29d2')
|
||||
|
||||
build() {
|
||||
cd "$_gitpkgname-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_gitpkgname-$pkgver"
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
}
|
Loading…
Reference in New Issue
Block a user