[arch-commits] Commit in libktorrent/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri May 29 09:36:45 UTC 2020
Date: Friday, May 29, 2020 @ 09:36:44
Author: arojas
Revision: 387803
Fix FTBFS
Modified:
libktorrent/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-29 08:12:36 UTC (rev 387802)
+++ PKGBUILD 2020-05-29 09:36:44 UTC (rev 387803)
@@ -5,7 +5,7 @@
pkgname=libktorrent
pkgver=2.1.1
_ktorrentver=5.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="A BitTorrent protocol implementation"
arch=(x86_64)
url="https://www.kde.org/applications/internet/ktorrent/"
@@ -12,22 +12,22 @@
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})
+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')
+ 'SKIP'
+ '345d08c5ef0281415ec9dc185a098c47bcfc26dce1f205c814b5aae2d60310bf')
validpgpkeys=(1EE5A3205904BAA2B88C0A9D24FD31940095C0E1) # Andrius Štikonas <andrius at stikonas.eu>
prepare() {
- mkdir -p build
+ patch -d $pkgname-$pkgver -p1 -i ../libktorrent-build-fix.patch
}
build() {
- cd build
- cmake ../$pkgname-$pkgver
- make
+ cmake -B build -S $pkgname-$pkgver
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
More information about the arch-commits
mailing list