summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d49d1c995379876ad92236575bd55a2d34e9f52 (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
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
# Contributor: José Luis Lafuente <jl@lafuente.me>

pkgname=pass-sshaskpass-git
pkgver=0.0.1
pkgrel=3
pkgdesc='Get ssh passphrase from pass'
url='https://github.com/jlesquembre/pass-sshaskpass'
license=('GPLv2')
arch=('any')
depends=('pass' 'zenity')
makedepends=('git')
source=("git+https://github.com/jlesquembre/${pkgname}.git")
b2sums=('SKIP')

pkgver() {
  cd ${pkgname}
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

package() {
  cd ${pkgname}
  make DESTDIR="${pkgdir}" install
  rm -rf "${pkgdir}"/etc
}