mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
first commit
This commit is contained in:
commit
7230be702c
5 changed files with 84 additions and 0 deletions
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
pkgbase = qui-bin
|
||||
pkgdesc = A modern alternative webUI for qBittorrent (Pre-compiled binary)
|
||||
pkgver = 1.9.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/autobrr/qui
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
provides = qui
|
||||
conflicts = qui
|
||||
source = https://github.com/autobrr/qui/releases/download/v1.9.0/qui_1.9.0_linux_x86_64.tar.gz
|
||||
source = qui.service
|
||||
source = qui.sysusers
|
||||
source = qui.tmpfiles
|
||||
sha256sums = 412268fc60cebd75aaf347c59fdbdd0da493c8236a540e22ab8b19386fd263a5
|
||||
sha256sums = d52299510cf4845f0514eefd492b01c33bc2cd2819c2be9dc157f50f67462bd2
|
||||
sha256sums = ac49b4d6ae748334f7fa360d8dd58c7cd09ba5e062249666ab380d451b7925dd
|
||||
sha256sums = 3bacde8867fbb7b6d566666b635589579c1cc079cd23418284f43a7b37f0c41b
|
||||
|
||||
pkgname = qui-bin
|
||||
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Aaron Coach <aur@awc.id.au>
|
||||
_pkgname=qui
|
||||
pkgname="${_pkgname}-bin"
|
||||
pkgver=1.9.0
|
||||
pkgrel=1
|
||||
pkgdesc="A modern alternative webUI for qBittorrent (Pre-compiled binary)"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/autobrr/qui"
|
||||
license=('GPL')
|
||||
provides=("${_pkgname}")
|
||||
conflicts=("${_pkgname}")
|
||||
|
||||
source=(
|
||||
"${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_x86_64.tar.gz"
|
||||
"${_pkgname}.service"
|
||||
"${_pkgname}.sysusers"
|
||||
"${_pkgname}.tmpfiles"
|
||||
)
|
||||
|
||||
sha256sums=('412268fc60cebd75aaf347c59fdbdd0da493c8236a540e22ab8b19386fd263a5'
|
||||
'd52299510cf4845f0514eefd492b01c33bc2cd2819c2be9dc157f50f67462bd2'
|
||||
'ac49b4d6ae748334f7fa360d8dd58c7cd09ba5e062249666ab380d451b7925dd'
|
||||
'3bacde8867fbb7b6d566666b635589579c1cc079cd23418284f43a7b37f0c41b')
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
|
||||
install -Dm644 "${srcdir}/${_pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${_pkgname}.service"
|
||||
install -Dm644 "${srcdir}/${_pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${_pkgname}.conf"
|
||||
install -Dm644 "${srcdir}/${_pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf"
|
||||
}
|
||||
33
qui.service
Normal file
33
qui.service
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[Unit]
|
||||
Description=Modern alternative webUI for qBittorrent
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
Documentation=https://github.com/autobrr/qui
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=qui
|
||||
Group=qui
|
||||
Environment=HOME=/var/lib/qui
|
||||
WorkingDirectory=/var/lib/qui
|
||||
ExecStart=/usr/bin/qui serve
|
||||
Restart=on-failure
|
||||
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/var/lib/qui
|
||||
ProtectHome=yes
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
NoNewPrivileges=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectControlGroups=yes
|
||||
CapabilityBoundingSet=
|
||||
LockPersonality=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
RestrictAddressFamilies=AF_INET AF_INET6
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=@system-service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
1
qui.sysusers
Normal file
1
qui.sysusers
Normal file
|
|
@ -0,0 +1 @@
|
|||
u qui - "qui user" /var/lib/qui
|
||||
1
qui.tmpfiles
Normal file
1
qui.tmpfiles
Normal file
|
|
@ -0,0 +1 @@
|
|||
d /var/lib/qui 0750 qui qui
|
||||
Loading…
Add table
Reference in a new issue