blob: 2847ff34004dde7b92027f87f715b307a3282210 (
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
50
51
52
53
54
55
56
|
# Maintainer: Leo <i@setuid0.dev>
pkgname=qbittorrent-enhanced-nox
pkgver=5.0.3.10
pkgrel=1
epoch=
pkgdesc="A bittorrent client powered by C++, Qt and libtorrent (Enhanced Edition), w/o GUI"
arch=('x86_64')
url="https://github.com/c0re100/qBittorrent-Enhanced-Edition"
license=('GPL-2.0-or-later')
groups=()
depends=('gcc-libs' 'glibc' 'libtorrent-rasterbar>=1:2.0' 'openssl' 'qt6-base' 'zlib')
makedepends=('cmake' 'boost>1.65.0' 'qt6-tools' 'qt6-svg')
checkdepends=()
optdepends=('python: needed for torrent search tab')
provides=('qbittorrent-nox')
conflicts=('qbittorrent-nox')
replaces=()
backup=()
options=()
install=
changelog=
source=(
"qbittorrent-enhanced-$pkgver.tar.gz::https://github.com/c0re100/qBittorrent-Enhanced-Edition/archive/release-$pkgver.tar.gz"
"qbittorrent-nox.service"
"qbittorrent-nox.sysusers"
"qbittorrent-nox.tmpfiles"
)
noextract=()
sha256sums=(
'b1b28e6f6f314a348160c55bfade0243cedf096c0bcc2b545f8e3368f86f2bbe'
'SKIP'
'SKIP'
'SKIP'
)
build() {
cd qBittorrent-Enhanced-Edition-release-$pkgver
cmake -B build -S . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DGUI=OFF \
-DSYSTEMD=OFF
cmake --build build
}
package() {
cd qBittorrent-Enhanced-Edition-release-$pkgver
DESTDIR="$pkgdir" cmake --install build
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/qbittorrent-enhanced-nox/COPYING
install -Dm644 "$srcdir"/qbittorrent-nox.service "$pkgdir"/usr/lib/systemd/system/qbittorrent-nox.service
install -Dm644 "$srcdir"/qbittorrent-nox.sysusers "$pkgdir"/usr/lib/sysusers.d/qbittorrent-nox.conf
install -Dm644 "$srcdir"/qbittorrent-nox.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/qbittorrent-nox.conf
}
|