summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 446b21cf7587a725a531bdd06f42d7ab2af763b6 (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
# Maintainer: Emil Lundberg <emil@emlun.se>

pkgname='pass-notify-git'
pkgver=0.1.0
pkgrel=3
pkgdesc='password-store extension for output via desktop notifications'
arch=('any')
url='https://github.com/emlun/pass-notify/'
license=('GPL3')
depends=('bash' 'dmenu' 'libnotify' 'pass')
source=("git+https://github.com/emlun/pass-notify.git")
replaces=('pass-patched-passmenu-notify-git')
conflicts=('pass-patched-passmenu-notify-git')
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/pass-notify/"
  git describe | sed 's/^v//' | sed 's/-/.r/;s/-/./g'
}

package() {
  cd "${srcdir}/pass-notify/"
  make DESTDIR="${pkgdir}" install
}