summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 154885bead4856072f0075f30707ccb82911096b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Zack Didcott

pkgname=bms-token-git
pkgver=2.2.0
pkgrel=1
pkgdesc="BMS/Secure-IT Token OATHController."
arch=("any")
url="https://github.com/Zedeldi/BMS-Token"
license=("GPL3")
depends=("python")
makedepends=("python-build" "python-installer" "python-setuptools" "python-wheel")
provides=("bms-token")
conflicts=("bms-token")
source=("$pkgname::git+https://github.com/Zedeldi/BMS-Token.git")
b2sums=("SKIP")

build() {
    cd "$pkgname"
    python -m build --wheel --no-isolation
}

package() {
    cd "$pkgname"
    python -m installer --destdir="$pkgdir" dist/*.whl
}