summaryrefslogtreecommitdiff
path: root/any/pass-otp_fix-hotp-counter-git/PKGBUILD
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-03-21 23:43:53 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-03-21 23:43:53 -0700
commit8058fa47785727cf2ccda375a5bd01677d615ec1 (patch)
tree9f93f60043402d00b1e66106abdb088b79454a27 /any/pass-otp_fix-hotp-counter-git/PKGBUILD
parent58adb2c02eaed4f65eaf94e2093f3fbd6090c3f9 (diff)
use patch instead
Diffstat (limited to 'any/pass-otp_fix-hotp-counter-git/PKGBUILD')
-rw-r--r--any/pass-otp_fix-hotp-counter-git/PKGBUILD30
1 files changed, 0 insertions, 30 deletions
diff --git a/any/pass-otp_fix-hotp-counter-git/PKGBUILD b/any/pass-otp_fix-hotp-counter-git/PKGBUILD
deleted file mode 100644
index 0c2897c..0000000
--- a/any/pass-otp_fix-hotp-counter-git/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# Contibutor: Morten Linderud <foxboron@archlinux.org>
-# Contibutor: Alexandre Pujol <alexandre@pujol.io>
-
-pkgname='pass-otp_fix-hotp-counter-git'
-pkgver=r136.0447ae4
-pkgrel=2
-# https://github.com/tadfisher/pass-otp/pull/172
-pkgdesc='A pass extension for managing one-time-password (OTP) tokens. With hotp counter fix.'
-arch=('any')
-url='https://github.com/jorti/pass-otp'
-license=('GPL3')
-depends=('pass'
- 'oath-toolkit'
- 'qrencode')
-makedepends=('git')
-optdepends=('perl-pass-otp')
-provides=('pass-otp')
-conflicts=('pass-otp')
-source=("git+$url.git#branch=fix-hotp-counter")
-sha256sums=('SKIP')
-
-pkgver() {
- cd "$srcdir/${pkgname%_fix-hotp-counter-git}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-package() {
- cd "$srcdir/${pkgname%_fix-hotp-counter-git}"
- make PREFIX=/usr DESTDIR="${pkgdir}" install
-}