blob: 013e8194ce6af0bd8fb043bfbf28f6fb0025cd98 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Maintainer: Celogeek <arch-aur-f5d67e@celogeek.com>
_basename=jicofo
_tag=861
_version=1.0+861
pkgname=${_basename}-nightly
pkgver=${_version}
pkgrel=1
pkgdesc="JItsi Meet COnference FOcus nightly build"
arch=('any')
url="https://jitsi.org/jitsi-meet/"
license=('Apache')
depends=("java-runtime" "bash")
optdepends=("prosody")
makedepends=(
"java-environment"
"unzip" "maven"
)
options=('!strip')
backup=(
"etc/${pkgname}/config"
"etc/${pkgname}/logging.properties"
"etc/${pkgname}/sip-communicator.properties"
"etc/${pkgname}/jicofo.conf"
)
source=(
"$pkgname::git+https://github.com/jitsi/jicofo#tag=${_tag}"
"config"
"sip-communicator.properties"
"service"
"sysusers.conf"
"tmpfiles.conf"
)
install=install
build() {
cd "$pkgname"
mvn clean
mvn package -DskipTests -Dassembly.skipAssembly=true
mvn dependency:copy-dependencies -DincludeScope=runtime
}
package() {
cd "$srcdir/$pkgname"
DESTDIR="${pkgdir}/usr/lib/${pkgname}"
CONFDIR="${pkgdir}/etc/${pkgname}"
install -Dm644 -t "${DESTDIR}/lib" target/dependency/*
install -Dm644 target/jicofo*.jar "${DESTDIR}/jicofo.jar"
install -dm700 "${CONFDIR}"
install -Dm600 -t "${CONFDIR}" "lib/logging.properties"
install -Dm600 "src/main/resources/reference.conf" "${CONFDIR}/jicofo.conf"
install -Dm755 -t "${DESTDIR}" "resources/jicofo.sh"
sed -i 's@/var/log/jitsi@/var/log/'${pkgname}'@' "${CONFDIR}/logging.properties"
cd "$srcdir"
install -Dm600 -t "${CONFDIR}" "config" "sip-communicator.properties"
install -Dm644 "service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
install -Dm644 "sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf"
install -Dm644 "tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/$pkgname.conf"
}
sha256sums=('SKIP'
'63fa0d23ce6b2ef388832419a3eda0d172f5869e1845ad25d5874bf5607981b6'
'f295f5f8ee13edd019defc037c60e04c6ea2d30e69cc4a896c010b8570f5efab'
'8de1e1ac3b20795a69e5932f52108e187769cc6e2c19833b4baf55518c3b9933'
'0681e97ca1e06d8ea7bdec0a874c6fc7a6ea84628923005130cd444547a1b440'
'a8e5ff30f3737da564f61e7d00cc6e0a8b243da54aa02f94095deaa2f4cceb66')
|