blob: b75eb250f6bfc37c31ec88f85c28327afcdceb97 (
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
|
# Maintainer: Nanaka Hiira <hiira plus archlinux at hiira dot dev>
pkgname='concrnt-webui-bin'
pkgdesc='Concrnt registration page and admin panel'
pkgver=1.6.0
_pkgver=v${pkgver}
pkgrel=7
arch=('any')
url="https://github.com/totegamma/concurrent"
license=('MIT')
optdepends=('caddy: Web server to serve files' 'nginx: Web server to serve files')
provides=('concrnt-webui')
conflicts=('concrnt-webui')
source=("ccweb-${pkgver}::https://github.com/totegamma/concurrent/releases/download/${_pkgver}/web.zip"
# v1.6.0 release tarball does not yet contain LICENSE file
"https://raw.githubusercontent.com/totegamma/concurrent/refs/heads/develop/LICENSE"
"Caddyfile"
"nginx.conf"
"concrnt-webui-caddy.service"
"concrnt-webui-nginx.service"
"concrnt-webui.hook"
"concrnt-webui.tmpfiles")
sha512sums=('ea478f9011f44c8e92554bc50389cc7de9fcb0e464d5cbb4882215a2f43c438ce964a3c024a25490e2a375bfd0671d132c96c42a432dceb96d80d1a841af592e'
'6991f0cdffef328c29368d987a46e2d12d765b743cad04ae4c89469e1644f11f079fb495e5297b79d521f88b40d6fb3c5b972279c95f394bdb07cf4a2037f412'
'1f9ad0d2b2b012f8ee467aac1f638d75c83b02ef254822787c6ccbbd14ed5314085e182489c7ce2887c62ac80cd58c55331a0768aebb8ca4dbb13d391a4fcae9'
'b3e1e5af5659ef5ee712013a6607bb07c704241953aaa75c4e5e9b909d3207a72813169d394854e2f6209daa46f875c67d3b409dd44ebeef1e68c9a411152b52'
'7abff3be9bd1ef4864b3ecec1a8c68d7f6d9b1f69a00b19e2d1f704b430ab5eefe9bedc267d1993c3c248f1303fcc7c1a17e52b71fbda71a492a6ae6a572e725'
'a481f8c4a9f0dc25544aa8ea68b2ecd6405c48b000a07b3d5fd8989fa882ccc8c9859bd69be44f52cdcab509daf1f2fc25e18a29ea7db0b930de399a0032f8fe'
'87c0f8c1ec8ce38fdd755153d0956a2fdb01789b31fcbd2109d11a6d70a239536e7a884c120f2d7e40046f6e0827e647e84e5650995f9ecb37786608bc4b1631'
'a85f43dbb5cd1789dca8dde579bb741a71fd8ae35aa0aa9c82628d42e61d1ccfd59464af5f72b758593bf6164f6e7d63c4c40082fd9938452b2c23d5ea0ae045')
package() {
# runtime dependency
depends=('concrnt-gateway' 'concrnt-shared-config')
mkdir -p ${pkgdir}/usr/share/concrnt
cp -dpTr --no-preserve=ownership "${srcdir}/dist" "${pkgdir}/usr/share/concrnt/web"
install -Dm644 "${srcdir}/Caddyfile" "${pkgdir}/etc/concrnt/config/webui/Caddyfile"
install -Dm644 "${srcdir}/nginx.conf" "${pkgdir}/etc/concrnt/config/webui/nginx.conf"
install -Dm644 "${srcdir}/concrnt-webui-caddy.service" "${pkgdir}/usr/lib/systemd/system/concrnt-webui-caddy.service"
install -Dm644 "${srcdir}/concrnt-webui-nginx.service" "${pkgdir}/usr/lib/systemd/system/concrnt-webui-nginx.service"
install -Dm644 "${srcdir}/concrnt-webui.hook" "${pkgdir}/usr/share/libalpm/hooks/concrnt-webui.hook"
install -Dm644 "${srcdir}/concrnt-webui.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/concrnt-webui.conf"
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
|