summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2b821931bd696658ec5a298ccde5c9bdc36e447e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Gustavo Coutinho de Souza <aur at onemoresuza dot mailer dot me>
pkgname='pass-xmenu-git'
pkgver=0.1.1.r0.gab03d33
pkgrel=1
pkgdesc="A pass extension that provides an xmenu and autofill capabilities"
arch=('any')
url='https://github.com/onemoresuza/pass-xmenu'
license=('GPL3')
depends=('pass'
         'xdotool')
makedepends=('git')
source=("git+${url}.git")
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/${pkgname%-git}"
  git describe --long 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "${srcdir}/${pkgname%-git}"
  make DESTDIR="${pkgdir}" install
}