summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorC0rn3j2020-05-27 14:28:36 +0200
committerC0rn3j2020-05-27 14:28:36 +0200
commit99383c4d8709dbbf5a3bd3f5085bfba13a4cbbaf (patch)
treefdc90047cec34b73378a11ec23ee1e52bf6bfb46 /PKGBUILD
parent854b01fcece6985045004b2e59a5365bbda606d2 (diff)
downloadaur-99383c4d8709dbbf5a3bd3f5085bfba13a4cbbaf.tar.gz
do not use a root user
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 19 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a30cac301a6..68feed64281 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,29 +23,35 @@ changelog=
source=($pkgname::git+https://github.com/jitsi/jicofo
jicofo.conf
jicofo.service
- sip-communicator.properties)
+ sip-communicator.properties
+ sysusers.conf
+ tmpfiles.conf)
noextract=()
sha256sums=('SKIP'
'3a558324a17011cf48e033ce265d45cc06a0b53e009984e841496f1cd4d7519d'
- 'a28d21abcbb58ac50c974aba04360c3307a37074b420e40abd016e9d9adddd85'
- 'ed3a2c91d3f6c92f3aeae4dd852f04196ed57cc0c8a33da3bae6c1fb26b88294')
+ '82937c73200a38326e4362fcf0cbc27ad710a0c0c5708e5f84815d10dfd86a86'
+ 'ed3a2c91d3f6c92f3aeae4dd852f04196ed57cc0c8a33da3bae6c1fb26b88294'
+ '0681e97ca1e06d8ea7bdec0a874c6fc7a6ea84628923005130cd444547a1b440'
+ 'b4ed1528f804056b43d47a8214f2ed853b31a8cedbafb96c26fae556df554be8')
validpgpkeys=()
pkgver() {
- cd "$pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "${srcdir}/${pkgname}"
- mvn package -DskipTests -Dassembly.skipAssembly=false
- unzip -o target/jicofo-1.1-SNAPSHOT-archive.zip
+ cd "${srcdir}/${pkgname}"
+ mvn package -DskipTests -Dassembly.skipAssembly=false
+ unzip -o target/jicofo-1.1-SNAPSHOT-archive.zip
}
package() {
- install -d "${pkgdir}/usr/share"
- cp -R "${srcdir}/jicofo-git/jicofo-1.1-SNAPSHOT/" "${pkgdir}/usr/share/jicofo"
- install -Dm644 jicofo.service "$pkgdir"/usr/lib/systemd/system/jicofo.service
- install -Dm644 jicofo.conf "$pkgdir"/etc/jitsi/jicofo/jicofo.conf
- install -Dm644 sip-communicator.properties "${pkgdir}"/etc/jitsi/jicofo/sip-communicator.properties
+ install -d "${pkgdir}/usr/share"
+ cp -R "${srcdir}/jicofo-git/jicofo-1.1-SNAPSHOT/" "${pkgdir}/usr/share/jicofo"
+ install -Dm644 jicofo.conf "$pkgdir/etc/jitsi/jicofo/jicofo.conf"
+ install -Dm644 jicofo.service "$pkgdir/usr/lib/systemd/system/jicofo.service"
+ install -Dm644 sip-communicator.properties "${pkgdir}/etc/jitsi/jicofo/sip-communicator.properties"
+ install -Dm644 sysusers.conf "${pkgdir}/usr/lib/sysusers.d/jicofo.conf"
+ install -Dm644 tmpfiles.conf "${pkgdir}/usr/lib/tmpfiles.d/jicofo.conf"
}