summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b36750f5d3c3c92d7651d655a8021523dabb735a (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>

pkgver=0.4.1

_binname=totp

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

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