Date: Monday, July 13, 2015 @ 22:07:52
  Author: jlichtblau
Revision: 136800

archrelease: copy trunk to community-staging-i686

Added:
  rtorrent/repos/community-staging-i686/
  rtorrent/repos/community-staging-i686/PKGBUILD
    (from rev 136799, rtorrent/trunk/PKGBUILD)

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

Copied: rtorrent/repos/community-staging-i686/PKGBUILD (from rev 136799, 
rtorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2015-07-13 20:07:52 UTC (rev 136800)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Gaetan Bisson <[email protected]>
+# Contributor:  Daenyth <Daenyth [at] gmail [dot] com>
+# Contributor: Jeff Mickey <[email protected]>
+# Contributor: sh__
+
+pkgname=rtorrent
+pkgver=0.9.5
+pkgrel=2
+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++')
+#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
+}

Reply via email to