Date: Monday, June 13, 2022 @ 11:55:59
  Author: felixonmars
Revision: 1237473

archrelease: copy trunk to community-staging-x86_64

Added:
  qbittorrent/repos/community-staging-x86_64/
  qbittorrent/repos/community-staging-x86_64/PKGBUILD
    (from rev 1237472, qbittorrent/trunk/PKGBUILD)

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

Copied: qbittorrent/repos/community-staging-x86_64/PKGBUILD (from rev 1237472, 
qbittorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-13 11:55:59 UTC (rev 1237473)
@@ -0,0 +1,59 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Eli Schwartz <[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.4.3.1
+pkgrel=3
+arch=(x86_64)
+url='https://www.qbittorrent.org'
+license=(custom GPL)
+depends=(libtorrent-rasterbar qt6-base)
+makedepends=(cmake boost qt6-tools qt6-svg)
+optdepends=('python: needed for torrent search tab')
+source=(https://downloads.sourceforge.net/sourceforge/qbittorrent/${pkgname}-${pkgver}.tar.xz{,.asc}
+        https://github.com/qbittorrent/qBittorrent/commit/73bce485.patch)
+sha256sums=('b64559ca50b54bc6c5be17302e69f34fba8433059842aa4093865dc2c00d24c8'
+            'SKIP'
+            'ba43c4cb27065a75555fb9d88e63cadbc4db6d397e6486617da72244b713602b')
+validpgpkeys=('D8F3DA77AAC6741053599C136E4A2D025B7CC9A2') # sledgehammer999 
<[email protected]>
+options=(debug)
+
+prepare() {
+  patch -d $pkgbase-$pkgver -p1 < 73bce485.patch # Fix retrieving RSS feeds
+}
+
+build() {
+  cmake -B build -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DQT6=ON
+  cmake --build build
+
+  cmake -B build-nox -S $pkgbase-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DQT6=ON \
+    -DGUI=OFF \
+    -DSYSTEMD=ON
+  cmake --build build-nox
+}
+
+package_qbittorrent() {
+  pkgdesc='An advanced BitTorrent client programmed in C++, based on Qt 
toolkit and libtorrent-rasterbar'
+  depends+=(qt6-svg hicolor-icon-theme)
+
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 $pkgbase-$pkgver/COPYING -t 
"$pkgdir"/usr/share/licenses/$pkgname
+}
+
+package_qbittorrent-nox() {
+  pkgdesc='An advanced BitTorrent client programmed in C++, based on Qt 
toolkit and libtorrent-rasterbar, w/o gui'
+
+  DESTDIR="$pkgdir" cmake --install build-nox
+  install -Dm644 $pkgbase-$pkgver/COPYING -t 
"$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to