summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c781413f03363fa47f75cc7a8df28bcd87de48df (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
30
# Maintainer: Benjamin Denhartog <ben@sudoforge.com>

# For ISSUES, REQUESTS, and QUESTIONS:
# https://github.com/sudoforge/pkgbuilds

pkgname=weechat-notify-send
pkgver=0.10
pkgrel=1
pkgdesc="A WeeChat script that sends highlight and message notifications through notify-send"
url='https://github.com/s3rvac/weechat-notify-send'
arch=('any')
license=('MIT')
depends=(
  'libnotify'
  'python'
  'weechat'
)
install=$pkgname.install
source=("${pkgname}_${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha512sums=('8c52061b52976f9619899288b1d831d5da6d333eaf3c9950f3bde4cce2dc8650517c420d3518597bc04e44a3154a44038a153a59a598d8cae5b2f9c066ca87e8')

package() {
  cd "$srcdir/$pkgname-$pkgver"

  # Install the plugin script
  install -Dm644 notify_send.py ${pkgdir}/usr/share/weechat/python/notify_send.py

  # Install the plugin license
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}