blob: 9b3c8e726cd03110790c9125145366a67b83a6e0 (
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
|
# Contributor: dalz <dalz @t disroot d0t org>
pkgname=weechat-matrix-protocol-script-git
pkgver=r360.5278fb6
pkgrel=1
pkgdesc="weechat script for matrix"
arch=('any')
url='https://github.com/torhve/weechat-matrix-protocol-script'
license=('MIT')
depends=('weechat' 'lua' 'lua-cjson')
makedepends=('git')
source=("${pkgname}::git+https://github.com/torhve/weechat-matrix-protocol-script")
md5sums=('SKIP')
install=weechat-matrix-git.install
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$pkgname"
install -D "matrix.lua" -t "$pkgdir/opt"
}
|