From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/rtorrent/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 community/rtorrent/PKGBUILD (limited to 'community/rtorrent') diff --git a/community/rtorrent/PKGBUILD b/community/rtorrent/PKGBUILD new file mode 100644 index 000000000..010020527 --- /dev/null +++ b/community/rtorrent/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Gaetan Bisson +# Contributor: Daenyth +# Contributor: Jeff Mickey +# Contributor: sh__ + +pkgname=rtorrent +pkgver=0.9.3 +pkgrel=2 +pkgdesc='Ncurses BitTorrent client based on libTorrent' +url='http://libtorrent.rakshasa.no/' +license=('GPL') +arch=('i686' 'x86_64') +depends=('libtorrent=0.13.3' 'curl' 'xmlrpc-c' 'libsigc++') +source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz") +sha1sums=('89ec5683a46f000dc23c9bf8a8808985759220e4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + 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 +} -- cgit v1.2.3-54-g00ecf