Date: Wednesday, September 6, 2017 @ 21:54:15 Author: arojas Revision: 256089
Use upstream systemd units (FS#54129) Modified: qbittorrent/trunk/PKGBUILD Deleted: qbittorrent/trunk/qbittorrent.service ---------------------+ PKGBUILD | 15 ++++----------- qbittorrent.service | 11 ----------- 2 files changed, 4 insertions(+), 22 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-09-06 21:38:01 UTC (rev 256088) +++ PKGBUILD 2017-09-06 21:54:15 UTC (rev 256089) @@ -9,18 +9,14 @@ pkgbase=qbittorrent pkgname=(qbittorrent qbittorrent-nox) pkgver=3.3.15 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="http://www.qbittorrent.org" license=('custom' 'GPL') makedepends=('libtorrent-rasterbar' 'boost' 'qt5-tools') -source=(http://downloads.sourceforge.net/sourceforge/qbittorrent/$pkgname-$pkgver.tar.xz{,.asc} - 'qbittorrent.service' - 'qbittorrent@.service') +source=(http://downloads.sourceforge.net/sourceforge/qbittorrent/$pkgname-$pkgver.tar.xz{,.asc}) sha256sums=('a7bbc08a39912a15a496702e736a98c083011bbb14fe5f04440880d7e6b2ceae' - 'SKIP' - '8c5879673c66368ada97f6d70a1d8fe3b6a4995f79aab4fc6bf54fbdcbe811d0' - '12dfd06104eaf302b79328c8096248c051208f69348e33f7fb2e4a2fb49caa29') + 'SKIP') validpgpkeys=('D8F3DA77AAC6741053599C136E4A2D025B7CC9A2') build() { @@ -35,7 +31,7 @@ popd mkdir "$pkgbase-nox" pushd "$pkgbase-nox" - ../configure --prefix=/usr --disable-gui + ../configure --prefix=/usr --disable-gui --enable-systemd } package_qbittorrent() { @@ -57,7 +53,4 @@ make INSTALL_ROOT="$pkgdir/" install install -Dm644 "$srcdir/$pkgbase-$pkgver/COPYING" "$pkgdir"/usr/share/licenses/$pkgname/COPYING - - install -Dm644 "$srcdir/qbittorrent.service" "$pkgdir/usr/lib/systemd/user/qbittorrent.service" - install -Dm644 "$srcdir/qbittorrent@.service" "$pkgdir/usr/lib/systemd/system/qbittorrent@.service" } Deleted: qbittorrent.service =================================================================== --- qbittorrent.service 2017-09-06 21:38:01 UTC (rev 256088) +++ qbittorrent.service 2017-09-06 21:54:15 UTC (rev 256089) @@ -1,11 +0,0 @@ -[Unit] -Description=qbittorrent-nox Daemon -Documentation=https://github.com/qbittorrent/qBittorrent/wiki -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/qbittorrent-nox --daemon --webui-port=8080 - -[Install] -WantedBy=default.target