summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8100eef8dcb5db349a98f7e52e4558e6d65c50f0 (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: earthian <418@duck.com>

pkgname=rofi-pass-wayland-git
pkgver=2.1.3.r0.gcab4a78
pkgrel=1
pkgdesc="Rofi-wayland frontend for ZX2C4 pass project."
arch=('any')
url="https://github.com/Seme4eg/rofi-pass-wayland"
license=('GPL-3.0-or-later')
depends=(
  # official repositories:
  'pass' 'wtype' 'wl-clipboard'
  # AUR:
  'rofi-lbonn-wayland-git'
)
optdepends=('qrencode: qrcode functionality'
  'pass-otp: one time passwords generation')
makedepends=('git')
provides=("${pkgname%-git}=${pkgver%%.r*}")
conflicts=("${pkgname%-git}" 'rofi-pass-git' 'rofi-pass-ydotool-git')
source=('git+https://github.com/Seme4eg/rofi-pass-wayland')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname%-git}"
  git describe --long --abbrev=7 | sed 's/-/.r/;s/-/./'
}

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