blob: 369788f3d5ca4b60ae03bbad1c49cafb8e22da17 (
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
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
pkgname=qbittorrent-nightwalker
_pkgname="${pkgname#qbittorrent-}"
pkgver=r29.e782565
pkgrel=2
pkgdesc='A dark but not black qBittorrent WebUI'
arch=(any)
url='https://github.com/CallMeBruce/nightwalker'
license=('LicenseRef-Unknown')
makedepends=('git')
optdepends=(
'qbittorrent: for use with qbittorrent'
'qbittorrent-nox: for use with qbittorrent-nox'
)
options=(!debug)
install="${pkgname}.install"
source=(
"git+${url}#commit=e782565e10ccb3f1ee801f5a5181c105eb3b1e1c"
${pkgname}.install
)
sha256sums=('3971786c7aa0609102212f34226bda49870fc9dbdc22ecf885b68b1691071062'
'e41cb7cd5693aad398e37a59ffabe0fc00833639b9e599a4c1fca0db126e52e2')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${_pkgname}"
install -dm755 "${pkgdir}/usr/share/${pkgname}"
install -Dm644 'webui.qrc' "${pkgdir}/usr/share/${pkgname}/weubui.qrc"
cp -dr --no-preserve=ownership private "${pkgdir}/usr/share/${pkgname}"
cp -dr --no-preserve=ownership public "${pkgdir}/usr/share/${pkgname}"
cp -dr --no-preserve=ownership translations "${pkgdir}/usr/share/${pkgname}"
}
|