void-packages/srcpkgs/pass-otp/template
2018-11-16 11:17:02 -02:00

18 lines
650 B
Bash

# Template file for 'pass-otp'
pkgname=pass-otp
version=1.2.0
revision=1
noarch=yes
build_style=gnu-makefile
depends="pass oath-toolkit qrencode"
short_desc="A pass extension for managing one-time-password (OTP) tokens"
maintainer="Alif Rachmawadi <arch@subosito.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/tadfisher/pass-otp"
distfiles="https://github.com/tadfisher/pass-otp/archive/v${version}.tar.gz"
checksum=5720a649267a240a4f7ba5a6445193481070049c1d08ba38b00d20fc551c3a67
post_install() {
vmkdir usr/share/bash-completion/completions
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
}