summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 60a07803b4cda1ba3fc52ceaa148b2304510ea44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
arch=('any')
depends=('weechat' 'libnotify')
license=('MIT')
sha512sums=('SKIP')
pkgdesc='A WeeChat script that sends highlight and message notifications through notify-send'
pkgname=weechat-notify-send
pkgrel=1
pkgver=r180.962218a
source=('git+https://github.com/s3rvac/weechat-notify-send.git')
makedepends=('git')
url='https://github.com/s3rvac/weechat-notify-send'

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

package() {
  cd "${pkgname}"

  install -Dm644 "notify_send.py" "${pkgdir}/usr/lib/weechat/python/notify_send.py"
}