# Maintainer: Sebastian Hugentobler 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 }