Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
qbittorrent


Commits:
58c56ed3 by Antonio Rojas at 2024-05-26T20:16:43+02:00
upgpkg: 4.6.5-1: Update to 4.6.5

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,12 +1,13 @@
 pkgbase = qbittorrent
-       pkgver = 4.6.4
+       pkgver = 4.6.5
        pkgrel = 1
        url = https://www.qbittorrent.org
        arch = x86_64
-       license = custom
-       license = GPL
+       license = GPL-2.0-or-later
+       license = GPL-3.0-or-later
        makedepends = boost
        makedepends = cmake
+       makedepends = git
        makedepends = qt6-svg
        makedepends = qt6-tools
        depends = gcc-libs
@@ -16,11 +17,9 @@ pkgbase = qbittorrent
        depends = qt6-base
        depends = zlib
        optdepends = python: needed for torrent search tab
-       source = 
https://downloads.sourceforge.net/sourceforge/qbittorrent/qbittorrent-4.6.4.tar.xz
-       source = 
https://downloads.sourceforge.net/sourceforge/qbittorrent/qbittorrent-4.6.4.tar.xz.asc
+       source = 
git+https://github.com/qbittorrent/qBittorrent/#tag=release-4.6.5?signed
        validpgpkeys = D8F3DA77AAC6741053599C136E4A2D025B7CC9A2
-       sha256sums = 
8e62a24145582a0b36e8268a2e574c5d61a396d28a7d02b899ca59f2244a8913
-       sha256sums = SKIP
+       sha256sums = 
fa6d9624d204fbb5fde1c652134b91be87b798a57491dcae78ec4c57f8827a72
 
 pkgname = qbittorrent
        pkgdesc = An advanced BitTorrent client programmed in C++, based on Qt 
toolkit and libtorrent-rasterbar


=====================================
PKGBUILD
=====================================
@@ -10,11 +10,12 @@
 pkgbase=qbittorrent
 pkgname=(qbittorrent
          qbittorrent-nox)
-pkgver=4.6.4
+pkgver=4.6.5
 pkgrel=1
 arch=(x86_64)
 url='https://www.qbittorrent.org'
-license=(custom GPL)
+license=(GPL-2.0-or-later
+         GPL-3.0-or-later)
 depends=(gcc-libs
          glibc
          libtorrent-rasterbar
@@ -23,21 +24,21 @@ depends=(gcc-libs
          zlib)
 makedepends=(boost
              cmake
+             git
              qt6-svg
              qt6-tools)
 optdepends=('python: needed for torrent search tab')
-source=(https://downloads.sourceforge.net/sourceforge/qbittorrent/${pkgname}-${pkgver}.tar.xz{,.asc})
-sha256sums=('8e62a24145582a0b36e8268a2e574c5d61a396d28a7d02b899ca59f2244a8913'
-            'SKIP')
+source=(git+https://github.com/qbittorrent/qBittorrent/#tag=release-$pkgver?signed)
+sha256sums=('fa6d9624d204fbb5fde1c652134b91be87b798a57491dcae78ec4c57f8827a72')
 validpgpkeys=('D8F3DA77AAC6741053599C136E4A2D025B7CC9A2') # sledgehammer999 
<[email protected]>
 
 build() {
-  cmake -B build -S $pkgbase-$pkgver \
+  cmake -B build -S qBittorrent \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DQT6=ON
   cmake --build build
 
-  cmake -B build-nox -S $pkgbase-$pkgver \
+  cmake -B build-nox -S qBittorrent \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DQT6=ON \
     -DGUI=OFF \
@@ -50,12 +51,12 @@ package_qbittorrent() {
   depends+=(qt6-svg hicolor-icon-theme)
 
   DESTDIR="$pkgdir" cmake --install build
-  install -Dm644 $pkgbase-$pkgver/COPYING -t 
"$pkgdir"/usr/share/licenses/$pkgname
+  install -Dm644 qBittorrent/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
+  install -Dm644 qBittorrent/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qbittorrent/-/commit/58c56ed308e7eb2a8579bdcfb5ae72205b516e48

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qbittorrent/-/commit/58c56ed308e7eb2a8579bdcfb5ae72205b516e48
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to