Date: Tuesday, January 15, 2019 @ 12:13:40
Author: felixonmars
Revision: 423328
archrelease: copy trunk to community-staging-x86_64
Added:
qbittorrent/repos/community-staging-x86_64/
qbittorrent/repos/community-staging-x86_64/PKGBUILD
(from rev 423327, qbittorrent/trunk/PKGBUILD)
qbittorrent/repos/community-staging-x86_64/[email protected]
(from rev 423327, qbittorrent/trunk/[email protected])
----------------------+
PKGBUILD | 61 +++++++++++++++++++++++++++++++++++++++++++++++++
[email protected] | 12 +++++++++
2 files changed, 73 insertions(+)
Copied: qbittorrent/repos/community-staging-x86_64/PKGBUILD (from rev 423327,
qbittorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-01-15 12:13:40 UTC (rev 423328)
@@ -0,0 +1,61 @@
+# Maintainer: Eli Schwartz <[email protected]>
+# Contributor: Antonio Rojas <[email protected]>
+# Contributor: Timothy Redaelli <[email protected]>
+# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Contributor: Jkkyll Wu <adaptee at gmail [dot] com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Daniel J Griffiths <[email protected]>
+# Contributor: Geoffroy Carrier <[email protected]>
+
+pkgbase=qbittorrent
+pkgname=(qbittorrent qbittorrent-nox)
+pkgver=4.1.5
+pkgrel=2
+arch=('x86_64')
+url="https://www.qbittorrent.org"
+license=('custom' 'GPL')
+makedepends=('boost' 'libtorrent-rasterbar' 'qt5-tools' 'qt5-svg')
+source=("https://downloads.sourceforge.net/sourceforge/qbittorrent/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=('866e07c7886dea62cf0d7dc9a68d9aee1931cd18483b418298b2b072c9afd62a'
+ 'SKIP')
+validpgpkeys=('D8F3DA77AAC6741053599C136E4A2D025B7CC9A2') # sledgehammer999
<[email protected]>
+
+build() {
+ cd ${pkgbase}-${pkgver}
+
+ # tell qmake not to break makepkg's debug/!strip options
+ export QBT_ADD_CONFIG='nostrip'
+
+ mkdir -p ${pkgbase}
+ pushd ${pkgbase}
+ ../configure --prefix=/usr
+ make
+ popd
+
+ # Build nox variant
+ mkdir -p "${pkgbase}-nox"
+ pushd "${pkgbase}-nox"
+ ../configure --prefix=/usr --disable-gui --enable-systemd
+ make
+}
+
+package_qbittorrent() {
+ pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt
toolkit and libtorrent-rasterbar."
+ depends=('libtorrent-rasterbar' 'qt5-svg' 'hicolor-icon-theme')
+ optdepends=('python: needed for torrent search tab')
+
+ cd ${pkgbase}-${pkgver}/${pkgbase}
+
+ make INSTALL_ROOT="${pkgdir}" install
+ install -Dm644 "${srcdir}"/${pkgbase}-${pkgver}/COPYING
"${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+}
+
+package_qbittorrent-nox() {
+ pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt
toolkit and libtorrent-rasterbar, w/o gui"
+ depends=('libtorrent-rasterbar' 'qt5-base')
+
+ cd ${pkgbase}-${pkgver}/${pkgbase}-nox
+
+ make INSTALL_ROOT="${pkgdir}" install
+ install -Dm644 "${srcdir}"/${pkgbase}-${pkgver}/COPYING
"${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+}
Copied: qbittorrent/repos/community-staging-x86_64/[email protected] (from
rev 423327, qbittorrent/trunk/[email protected])
===================================================================
--- community-staging-x86_64/[email protected]
(rev 0)
+++ community-staging-x86_64/[email protected] 2019-01-15 12:13:40 UTC
(rev 423328)
@@ -0,0 +1,12 @@
+[Unit]
+Description=qbittorrent-nox Daemon
+Documentation=https://github.com/qbittorrent/qBittorrent/wiki
+After=network.target
+
+[Service]
+User=%i
+Type=forking
+ExecStart=/usr/bin/qbittorrent-nox --daemon --webui-port=8080
+
+[Install]
+WantedBy=multi-user.target