summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 79ae6b0a65da2f720c53927968e8ae2dbfa4e242 (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
26
27
28
29
30
31
32
# Maintainer: Emil Lundberg <emil@emlun.se>

pkgname=yubikey-oath-dmenu
pkgver=0.14.0
pkgrel=1
pkgdesc="dmenu interface for getting OATH codes from a YubiKey"
url="https://github.com/emlun/yubikey-oath-dmenu"
license=('GPL3')
arch=('any')
depends=('dmenu' 'python' 'python-click' 'yubikey-manager>=4.0.0')
optdepends=(
  'libnotify: Use --notify for user feedback via notifications'
  'pinentry: YubiKey OATH password support'
  'wl-clipboard: Use --clipboard to copy code to clipboard (Wayland)'
  'wtype: Use --type to type code into focused window (Wayland)'
  'xclip: Use --clipboard to copy code to clipboard (X11)'
  'xdotool: Use --type to type code into focused window (X11)'
)
source=(
  "${pkgname}-${pkgver}.tar.gz::https://github.com/emlun/${pkgname}/archive/v${pkgver}.tar.gz"
  "${pkgname}-${pkgver}.tar.gz.sig::https://github.com/emlun/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.sig"
)
validpgpkeys=('EB8627616EC1971DF076F2FF2BF5FD22FCABDE73')
sha256sums=('6c3b6288cc7963720f31d94df036300ea062304b05df5b3985944551eb1da7d4'
            'SKIP')

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" PREFIX=/usr install
}

# vim:set ts=2 sw=2 sts=2 et