[arch-commits] Commit in rtorrent/repos (2 files)

Jaroslav Lichtblau jlichtblau at archlinux.org
Mon Jul 13 19:48:14 UTC 2015


    Date: Monday, July 13, 2015 @ 21:48:14
  Author: jlichtblau
Revision: 136795

archrelease: copy trunk to community-staging-x86_64

Added:
  rtorrent/repos/community-staging-x86_64/
  rtorrent/repos/community-staging-x86_64/PKGBUILD
    (from rev 136794, rtorrent/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: rtorrent/repos/community-staging-x86_64/PKGBUILD (from rev 136794, rtorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-07-13 19:48:14 UTC (rev 136795)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor:  Daenyth <Daenyth [at] gmail [dot] com>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: sh__
+
+pkgname=rtorrent
+pkgver=0.9.5
+pkgrel=1
+pkgdesc='Ncurses BitTorrent client based on libTorrent'
+url='http://rakshasa.github.io/rtorrent/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('libtorrent=0.13.5' 'curl' 'xmlrpc-c' 'libsigc++')
+makedepends=('automake' 'autoconf')
+#source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz")
+#sha1sums=('e997822e9b0d53cf8ecfb6b836e380065890e10d')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rakshasa/${pkgname}/archive/${pkgver}.tar.gz")
+sha1sums=('ae2e2c6444bb29278406118527db19429c8095cf')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	sed '/AM_PATH_CPPUNIT/d' -i configure.ac
+	./autogen.sh
+
+	export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
+	./configure \
+		--prefix=/usr \
+		--disable-debug \
+		--with-xmlrpc-c \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -D doc/rtorrent.rc "${pkgdir}"/usr/share/doc/rtorrent/rtorrent.rc
+}



More information about the arch-commits mailing list