summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11c89e1a35dee43f57a4d5aa7b5717751be9d056 (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
# Maintainer: Celogeek <arch-aur-f5d67e@celogeek.com>

pkgname=lua52-jwtjitsi
pkgver=2.0
pkgrel=1
pkgdesc='LUA JWT Jitsi'
arch=('any')
url='https://github.com/jitsi/luajwtjitsi'
license=('MIT')
makedepends=('luarocks' 'lua52')
source=("git+https://github.com/jitsi/luajwtjitsi#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
    cd "luajwtjitsi"
    luarocks make --pack-binary-rock --lua-version="5.2" --deps-mode=none luajwtjitsi*.rockspec
}

package() {
    cd "luajwtjitsi"
    luarocks install --lua-version=5.2 --tree="$pkgdir/usr/" --deps-mode=none --no-manifest *.rock
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}