summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a091d8c2de417acb0529d551591af044feb994d5 (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
31
pkgname=wee-slack
pkgver=2.10.2
pkgrel=1
pkgdesc='A WeeChat plugin for Slack'
url='https://github.com/wee-slack/wee-slack/'
arch=('any')
license=('MIT')

conflicts=(
  'wee-slack-git'
)

source=(
  "${pkgname}_${pkgver}.tar.gz::https://github.com/wee-slack/wee-slack/archive/v${pkgver}.tar.gz"
)

sha512sums=(
  '62968e95608623adfa77c1d1cb38dd29f609492c05bb65e9cdfe49461c33979cdba9345f6b190825073a4cbd391e834556870b6c35fd4c3b7ac299d61bc35071'
)

package() {
  depends+=(
    'python-websocket-client'
    'weechat'
  )

  cd "${pkgname}-${pkgver}"
  install -Dm644 wee_slack.py "${pkgdir}/usr/share/weechat/python/wee_slack.py"
  install -Dm644 weemoji.json "${pkgdir}/usr/share/weechat/weemoji.json"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/wee-slack/LICENSE"
}