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

Antonio Rojas arojas at gemini.archlinux.org
Fri Dec 17 15:14:12 UTC 2021


    Date: Friday, December 17, 2021 @ 15:14:11
  Author: arojas
Revision: 1076357

archrelease: copy trunk to community-testing-x86_64

Added:
  qbittorrent/repos/community-testing-x86_64/
  qbittorrent/repos/community-testing-x86_64/PKGBUILD
    (from rev 1076356, qbittorrent/trunk/PKGBUILD)

----------+
 PKGBUILD |   63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

Copied: qbittorrent/repos/community-testing-x86_64/PKGBUILD (from rev 1076356, qbittorrent/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-12-17 15:14:11 UTC (rev 1076357)
@@ -0,0 +1,63 @@
+# 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.3.9
+pkgrel=2
+arch=('x86_64')
+url="https://www.qbittorrent.org"
+license=('custom' 'GPL')
+depends=('libtorrent-rasterbar' 'qt5-base')
+makedepends=('boost' 'qt5-tools' 'qt5-svg')
+optdepends=('python: needed for torrent search tab')
+source=("https://downloads.sourceforge.net/sourceforge/qbittorrent/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha512sums=('19cff24f08306eda77d944f0388ffb192a6650089925a71142bd68c854f9493846008b02b155dedab0192eb975fdeeaba762d210478d5179f6ab7ba6aabe6a64'
+            'SKIP')
+b2sums=('1f0427bb5cf31237577e8bfa3270c33797b4e1239a69cf943ea829d6a414f738e8404cdbfa2bbd08734c496f11b9adea811799fe7e6824d7d007e6beb69b62a4'
+        'SKIP')
+validpgpkeys=('D8F3DA77AAC6741053599C136E4A2D025B7CC9A2') # sledgehammer999 <sledgehammer999 at qbittorrent.org>
+
+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+=('qt5-svg' 'hicolor-icon-theme')
+
+  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"
+
+  cd ${pkgbase}-${pkgver}/${pkgbase}-nox
+
+  make INSTALL_ROOT="${pkgdir}" install
+  install -Dm644 "${srcdir}"/${pkgbase}-${pkgver}/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+}



More information about the arch-commits mailing list