[arch-commits] Commit in ktorrent/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jun 6 19:50:11 UTC 2020


    Date: Saturday, June 6, 2020 @ 19:50:10
  Author: arojas
Revision: 388386

Update to 5.2.0

Modified:
  ktorrent/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-06 19:41:26 UTC (rev 388385)
+++ PKGBUILD	2020-06-06 19:50:10 UTC (rev 388386)
@@ -3,8 +3,8 @@
 # Contributor: Georg Grabler <ggrabler at gmail.com>
 
 pkgname=ktorrent
-pkgver=5.1.2
-pkgrel=2
+pkgver=5.2.0
+pkgrel=1
 pkgdesc="A powerful BitTorrent client for KDE"
 arch=(x86_64)
 url='https://www.kde.org/applications/internet/ktorrent/'
@@ -14,22 +14,16 @@
 optdepends=('plasma-workspace: shutdown plugin' 'kdnssd: zeroconf plugin' 'taglib: mediaplayer plugin' 'geoip: info widget plugin'
             'syndication: syndication plugin' 'kdewebkit: search plugin, syndication plugin' 'kplotting: statistics plugin')
 source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('641427a3d6ecb18b0b28c1cc2ec3ba54612abf684df5e10e6c953cd7af058d4f'
+sha256sums=('d1031d745c1ace02d11b59c426610aee779d208e3d1ae81f8559c265173732ff'
             'SKIP')
 validpgpkeys=(1EE5A3205904BAA2B88C0A9D24FD31940095C0E1) # Andrius Štikonas <andrius at stikonas.eu>
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DWITH_SYSTEM_GEOIP=ON
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list