summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 825c2b83d33947543691a69679e47085db34059b (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=v2.1.0.r14.g946b1ff
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
}