summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 467ca8a00fd89db795d5d5b4ab8657cf46668e6e (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=5.f4255a9
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' 'pass' 'xdotool' 'xclip')
optdepends=('passed-git: change fieldnames in password files')

install=('rofi-pass.install')
makedepends=('git')
source=('git+http://git.53280.de/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')