summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a14457d0a70c3dbd5cd977117999c1101f3fb19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: German Lashevich <german.lashevich@gmail.com>

_binname=totp

pkgname=rustotpony-bin
_pkgname=${pkgname%-bin}
pkgver=0.2.6
pkgrel=1
pkgdesc='RusTOTPony — CLI manager of one-time password generators aka Google Authenticator'
provides=(${_binname})
conflicts=(${_pkgname} ${_pkgname}-git)
arch=(x86_64)
url="https://github.com/zebradil/${_pkgname}"
license=('MIT')
source=("${url}/releases/download/${pkgver}/${_binname}-linux")
# source=("${url}/releases/download/${pkgver}/${_pkgname}_${pkgver}_linux_${_arch}.tgz")
sha256sums=('0d81343de559a4b75a5c254eade829aca2ba6f4a418b7d403207d7e48740ea66')

package() {
  install -Dm755 "${srcdir}/${_binname}-linux" "${pkgdir}/usr/bin/${_binname}"
}