[arch-commits] Commit in qbittorrent/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Jun 3 01:33:10 UTC 2018


    Date: Sunday, June 3, 2018 @ 01:33:10
  Author: foutrelis
Revision: 338515

archrelease: copy trunk to community-staging-x86_64

Added:
  qbittorrent/repos/community-staging-x86_64/
  qbittorrent/repos/community-staging-x86_64/PKGBUILD
    (from rev 338514, qbittorrent/trunk/PKGBUILD)
  qbittorrent/repos/community-staging-x86_64/qbittorrent at .service
    (from rev 338514, qbittorrent/trunk/qbittorrent at .service)

----------------------+
 PKGBUILD             |   59 +++++++++++++++++++++++++++++++++++++++++++++++++
 qbittorrent at .service |   12 +++++++++
 2 files changed, 71 insertions(+)

Copied: qbittorrent/repos/community-staging-x86_64/PKGBUILD (from rev 338514, qbittorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-06-03 01:33:10 UTC (rev 338515)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# 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 <ghost1227 at archlinux.us>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+
+pkgbase=qbittorrent
+pkgname=(qbittorrent qbittorrent-nox)
+pkgver=4.1.1
+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=('8edc7a7fff8aa45e7bf763c91f30e064e1d7acd3f6efecb12fee420b75457ee7'
+            'SKIP')
+validpgpkeys=('D8F3DA77AAC6741053599C136E4A2D025B7CC9A2') # sledgehammer999 <sledgehammer999 at qbittorrent.org>
+
+build() {
+  cd ${pkgbase}-${pkgver}
+
+  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/qbittorrent at .service (from rev 338514, qbittorrent/trunk/qbittorrent at .service)
===================================================================
--- community-staging-x86_64/qbittorrent at .service	                        (rev 0)
+++ community-staging-x86_64/qbittorrent at .service	2018-06-03 01:33:10 UTC (rev 338515)
@@ -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



More information about the arch-commits mailing list