summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aac9cd76b08f016259849e05ce91c878e63ddbb9 (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
# Maintainer: Yusuf Aktepe <yusuf@yusufaktepe.com>

pkgname=rofi-brbw-git
_pkgname=${pkgname%-git}
pkgver=r6.29a2953
pkgrel=1
pkgdesc="Rofi frontend for Bitwarden (rbw)"
arch=('any')
url="https://github.com/yusufaktepe/rofi-brbw"
license=('GPL')
depends=('rofi' 'rbw' 'gawk' 'xclip' 'xdg-utils' 'xdotool')
optdepends=(
	'qrencode: QR code support'
	'ttf-font-nerd: for icons'
	'ttf-font-awesome: for icons'
)
makedepends=('git')
source=("git+$url.git")
md5sums=('SKIP')

pkgver() {
	cd ${_pkgname}
	printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd ${_pkgname}
	make PREFIX=/usr DESTDIR="$pkgdir" install
}