mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
1.12.0 and add shell completions (thanks Uoenix)
This commit is contained in:
parent
9ecac32bc4
commit
3716752f3e
2 changed files with 19 additions and 12 deletions
12
.SRCINFO
12
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = qui-bin
|
||||
pkgdesc = A modern alternative webUI for qBittorrent (Pre-compiled binary)
|
||||
pkgver = 1.11.0
|
||||
pkgrel = 2
|
||||
pkgver = 1.12.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/autobrr/qui
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
|
|
@ -14,9 +14,9 @@ pkgbase = qui-bin
|
|||
sha256sums = d52299510cf4845f0514eefd492b01c33bc2cd2819c2be9dc157f50f67462bd2
|
||||
sha256sums = ac49b4d6ae748334f7fa360d8dd58c7cd09ba5e062249666ab380d451b7925dd
|
||||
sha256sums = 3bacde8867fbb7b6d566666b635589579c1cc079cd23418284f43a7b37f0c41b
|
||||
source_x86_64 = https://github.com/autobrr/qui/releases/download/v1.11.0/qui_1.11.0_linux_x86_64.tar.gz
|
||||
sha256sums_x86_64 = a85ee380f0d5891678cf589b835a2500dc7432f091059056f24ec10bb0a27d72
|
||||
source_aarch64 = https://github.com/autobrr/qui/releases/download/v1.11.0/qui_1.11.0_linux_arm64.tar.gz
|
||||
sha256sums_aarch64 = a2a04668c434accb8407616e682c3461a7999aba76a29b6e479def7678512626
|
||||
source_x86_64 = https://github.com/autobrr/qui/releases/download/v1.12.0/qui_1.12.0_linux_x86_64.tar.gz
|
||||
sha256sums_x86_64 = abcc7f6861e4738a01604e8998fb44e7828667457546bf1c4e38b81f0f2c3d2e
|
||||
source_aarch64 = https://github.com/autobrr/qui/releases/download/v1.12.0/qui_1.12.0_linux_arm64.tar.gz
|
||||
sha256sums_aarch64 = 3e3c3a7edea077470723dca4e4a5ad56dc1a884cb908db5fbab7a2df97944cce
|
||||
|
||||
pkgname = qui-bin
|
||||
|
|
|
|||
19
PKGBUILD
19
PKGBUILD
|
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: Aaron Coach <aur@awc.id.au>
|
||||
_pkgname=qui
|
||||
pkgname="${_pkgname}-bin"
|
||||
pkgver=1.11.0
|
||||
pkgrel=2
|
||||
pkgver=1.12.0
|
||||
pkgrel=1
|
||||
pkgdesc="A modern alternative webUI for qBittorrent (Pre-compiled binary)"
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://github.com/autobrr/qui"
|
||||
|
|
@ -19,19 +19,17 @@ source=(
|
|||
sha256sums=('d52299510cf4845f0514eefd492b01c33bc2cd2819c2be9dc157f50f67462bd2'
|
||||
'ac49b4d6ae748334f7fa360d8dd58c7cd09ba5e062249666ab380d451b7925dd'
|
||||
'3bacde8867fbb7b6d566666b635589579c1cc079cd23418284f43a7b37f0c41b')
|
||||
sha256sums_x86_64=('a85ee380f0d5891678cf589b835a2500dc7432f091059056f24ec10bb0a27d72')
|
||||
sha256sums_aarch64=('a2a04668c434accb8407616e682c3461a7999aba76a29b6e479def7678512626')
|
||||
sha256sums_x86_64=('abcc7f6861e4738a01604e8998fb44e7828667457546bf1c4e38b81f0f2c3d2e')
|
||||
sha256sums_aarch64=('3e3c3a7edea077470723dca4e4a5ad56dc1a884cb908db5fbab7a2df97944cce')
|
||||
|
||||
source_x86_64=(
|
||||
"${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_x86_64.tar.gz"
|
||||
)
|
||||
|
||||
|
||||
source_aarch64=(
|
||||
"${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_arm64.tar.gz"
|
||||
)
|
||||
|
||||
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
|
||||
install -Dm644 "${srcdir}/${_pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${_pkgname}.service"
|
||||
|
|
@ -39,4 +37,13 @@ package() {
|
|||
install -Dm644 "${srcdir}/${_pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf"
|
||||
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/qui/LICENSE"
|
||||
install -Dm644 "${srcdir}/README.md" "${pkgdir}/usr/share/qui/README.md"
|
||||
|
||||
# Generate and install shell completions.
|
||||
local _target_bin="${srcdir}/${_pkgname}"
|
||||
install -dm755 "${pkgdir}/usr/share/bash-completion/completions"
|
||||
"$_target_bin" completion bash >"${pkgdir}/usr/share/bash-completion/completions/${_pkgname}"
|
||||
install -dm755 "${pkgdir}/usr/share/zsh/site-functions"
|
||||
"$_target_bin" completion zsh >"${pkgdir}/usr/share/zsh/site-functions/_${_pkgname}"
|
||||
install -dm755 "${pkgdir}/usr/share/fish/vendor_completions.d"
|
||||
"$_target_bin" completion fish >"${pkgdir}/usr/share/fish/vendor_completions.d/${_pkgname}.fish"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue