summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0de156f25a3446da5f4b52481f1e2c095ac55efb (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: Rasmus Steinke <rasi at xssn dot at>

pkgname=rofi-pass-git
_pkgname=rofi-pass
pkgver=502.4fdd367
pkgrel=1
pkgdesc="bash script to handle pass storages in a convenient way"
arch=('any')
url='https://github.com/carnager/rofi-pass'
license=('GPL')
depends=('xdg-utils' 'rofi' 'gawk' 'pass' 'xdotool' 'xclip' 'pwgen')
optdepends=('passed-git: change fieldnames in password files')

install=rofi-pass.install
makedepends=('git')
source=('git+https://github.com/carnager/rofi-pass')

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

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