blob: 5fd449a3972f4d707f363d6db27c084327b4d090 (
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
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Celogeek <arch-aur-f5d67e@celogeek.com>
_basename=jitsi-meet
_pkgname=turnserver
_version=1.0.4998
_url=https://download.jitsi.org/unstable/jitsi-meet-turnserver_1.0.4998-1_all.deb
_pkgbase=${_basename}-${_pkgname}-nightly
_debname=${_basename}-${_pkgname}
pkgname=${_pkgbase}-bin
pkgver=${_version}
pkgrel=1
pkgdesc="Jitsi Meet Prosody Plugins nightly binary"
arch=('any')
url="https://jitsi.org/jitsi-meet/"
license=('Apache')
depends=()
optdepends=("coturn")
makedepends=(
)
options=('!strip')
backup=(
)
makedepends=('tar')
source=(
"$_url"
)
provides=(${_pkgbase})
conflicts=(${_pkgbase})
build() {
rm -rf ${_pkgbase}
mkdir ${_pkgbase}
tar xJf data.tar.xz -C ${_pkgbase}
}
package() {
cd "$srcdir/${_pkgbase}"
DOCDIR="${pkgdir}/usr/share/doc/${_pkgbase}"
install -d "$DOCDIR"
cp -R usr/share/jitsi-meet-turnserver/* "${DOCDIR}"
# install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" doc/debian/jitsi-meet-turn/turnserver.conf doc/debian/jitsi-meet/jitsi-meet.conf doc/debian/jitsi-meet-turn/coturn-certbot-deploy.sh
chown -R root:root "${pkgdir}"
}
sha256sums=('f55848d78b47acb26e5294de5f746cf18ad3d18e8bf2b27551088e40e4a2a717')
|