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

Gaëtan Bisson bisson at archlinux.org
Thu Jun 7 07:36:06 UTC 2018


    Date: Thursday, June 7, 2018 @ 07:36:05
  Author: bisson
Revision: 341718

upstream update

Modified:
  rtorrent/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-07 07:35:43 UTC (rev 341717)
+++ PKGBUILD	2018-06-07 07:36:05 UTC (rev 341718)
@@ -6,23 +6,24 @@
 # Contributor: sh__
 
 pkgname=rtorrent
-pkgver=0.9.6
-pkgrel=5
+pkgver=0.9.7
+pkgrel=1
 pkgdesc='Ncurses BitTorrent client based on libTorrent'
 url='http://rakshasa.github.io/rtorrent/'
 license=('GPL')
 arch=('x86_64')
-depends=('libtorrent=0.13.6' 'curl' 'xmlrpc-c')
-#source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rakshasa/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('8ca89ca9e8f0cf984198d030203087e93d24743dfa158091a5d225a70ca4c8cf')
+depends=("libtorrent=0.13.${pkgver##*.}" 'curl' 'xmlrpc-c')
+source=("https://github.com/rakshasa/rtorrent/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('5d9842fe48c9582fbea2c7bf9f51412c1ccbba07d059b257039ad53b863fe8bb')
 
-build() {
+prepare() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	sed '/AM_PATH_CPPUNIT/d' -i configure.ac
 	./autogen.sh
+}
 
-	export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export CXXFLAGS+=' -fno-strict-aliasing'
 	./configure \
 		--prefix=/usr \
 		--disable-debug \



More information about the arch-commits mailing list