[arch-commits] Commit in libktorrent/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri May 29 09:37:18 UTC 2020


    Date: Friday, May 29, 2020 @ 09:37:16
  Author: arojas
Revision: 387804

archrelease: copy trunk to extra-x86_64

Added:
  libktorrent/repos/extra-x86_64/PKGBUILD
    (from rev 387803, libktorrent/trunk/PKGBUILD)
Deleted:
  libktorrent/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 09:36:44 UTC (rev 387803)
+++ PKGBUILD	2020-05-29 09:37:16 UTC (rev 387804)
@@ -1,33 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=libktorrent
-pkgver=2.1.1
-_ktorrentver=5.1.2
-pkgrel=1
-pkgdesc="A BitTorrent protocol implementation"
-arch=(x86_64)
-url="https://www.kde.org/applications/internet/ktorrent/"
-license=(GPL2)
-depends=(kio qca-qt5)
-makedepends=(extra-cmake-modules boost doxygen)
-source=("https://download.kde.org/stable/ktorrent/$_ktorrentver/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('5cc45c0b50a1b6b2ce64ad0384128f4ac3bc0e4a1417eb58e5e992b510fca100'
-            'SKIP')
-validpgpkeys=(1EE5A3205904BAA2B88C0A9D24FD31940095C0E1) # Andrius Štikonas <andrius at stikonas.eu>
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: libktorrent/repos/extra-x86_64/PKGBUILD (from rev 387803, libktorrent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-29 09:37:16 UTC (rev 387804)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libktorrent
+pkgver=2.1.1
+_ktorrentver=5.1.2
+pkgrel=2
+pkgdesc="A BitTorrent protocol implementation"
+arch=(x86_64)
+url="https://www.kde.org/applications/internet/ktorrent/"
+license=(GPL2)
+depends=(kio qca-qt5)
+makedepends=(extra-cmake-modules boost doxygen)
+source=("https://download.kde.org/stable/ktorrent/$_ktorrentver/$pkgname-$pkgver.tar.xz"{,.sig}
+         libktorrent-build-fix.patch::"https://invent.kde.org/network/libktorrent/-/commit/1e8ce6e9.patch")
+sha256sums=('5cc45c0b50a1b6b2ce64ad0384128f4ac3bc0e4a1417eb58e5e992b510fca100'
+            'SKIP'
+            '345d08c5ef0281415ec9dc185a098c47bcfc26dce1f205c814b5aae2d60310bf')
+validpgpkeys=(1EE5A3205904BAA2B88C0A9D24FD31940095C0E1) # Andrius Štikonas <andrius at stikonas.eu>
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 -i ../libktorrent-build-fix.patch
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



More information about the arch-commits mailing list