summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ad91c5fbb5b..2a9b22f744b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,7 @@ pkgbase = rtorrent-ps
url = https://github.com/pyroscope/rtorrent-ps
arch = any
license = GPL
+ makedepends = clang
depends = curl
depends = libtorrent-ps
depends = ncurses
@@ -73,4 +74,3 @@ pkgbase = rtorrent-ps
md5sums = 0a2bbaf74c7160ba33876dcc2f050f14
pkgname = rtorrent-ps
-
diff --git a/PKGBUILD b/PKGBUILD
index 91de569e15d..0614d86d039 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ url='https://github.com/pyroscope/rtorrent-ps'
license=('GPL')
arch=('any')
depends=('curl' 'libtorrent-ps' 'ncurses' 'xmlrpc-c')
+makedepends=('clang')
provides=('rtorrent')
conflicts=('rtorrent')
source=("https://github.com/rakshasa/$_pkgname/archive/v$_pkgver.tar.gz"
@@ -111,6 +112,10 @@ prepare() {
build() {
cd "$srcdir/$_pkgname-$_pkgver"
+ # Workaround for GCC compilation issues
+ export CC=/usr/bin/clang
+ export CXX=/usr/bin/clang++
+
./configure \
--prefix=/usr \
--with-xmlrpc-c \