summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff5de8200b0ec29571394330f46d0751975d58aa (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
32
33
34
pkgname=weechat-wee-most-git
pkgver=r597.6f54c4f
pkgrel=1
pkgdesc='A WeeChat plugin for Mattermost'
url='https://sr.ht/~tardypad/wee-most/'
arch=('any')
license=('GPL3')

makedepends=(
  'git'
)

source=(
  'git+https://git.sr.ht/~tardypad/wee-most'
)

sha512sums=(
  'SKIP'
)

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

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

  cd wee-most
  make DESTDIR="${pkgdir}" WEECHAT_DATA_DIR=/usr/share/weechat
}