# Contributor: Jan Tatje # Maintainer: Jan Tatje pkgname=qbittorrent-nox pkgver=4.1.6 pkgrel=2 _commit=1831f71cc452b164224d8b6399a8130d6d5b1c24 pkgdesc="qBittorrent client (webui only)" url="https://www.qbittorrent.org/" arch="all" license="GPL-2.0-or-later" options="!check" # qBittorrent has no tests depends="boost qt5-qtbase libtorrent-rasterbar" makedepends="boost-dev qt5-qtbase-dev qt5-qttools-dev libtorrent-rasterbar-dev" install="$pkgname.pre-install" subpackages="$pkgname-openrc $pkgname-doc" source=" qbittorrent-nox.initd qbittorrent-nox.confd https://github.com/qbittorrent/qBittorrent/archive/$_commit.tar.gz " builddir="$srcdir/qBittorrent-$_commit" build() { ./configure --disable-gui --disable-qt-dbus --prefix=/usr make } package() { make INSTALL_ROOT="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd \ "$pkgdir"/etc/conf.d/$pkgname } sha512sums="310df13ca8249e2ed57b7490ffa8f6beb0b273d856a62eeb87d47b7c20c531224c03c07124c3b9ac287c00dd9c139180c39933ee33dcb1a8a6ec1f67605dcede qbittorrent-nox.initd 999e58bcf0a528f88655611cb7d0ec2bd5f0a1aed1696b71be27e24a1708112540afa7fb37688ec865de1d9c7af6e7a2293773790bd8941bb94a1dc1f9ebe95e qbittorrent-nox.confd 5f6abfd8a9345e9972554ee55d79c2263ca80880ad3357540f13c6bd9337780d836a0b1c287b6c051f466eb98e380e6cee5b9381a1f2430cbc37643cd2386a40 1831f71cc452b164224d8b6399a8130d6d5b1c24.tar.gz"