summaryrefslogtreecommitdiff
path: root/community/rtorrent
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-27 22:08:34 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-27 22:08:34 -0500
commitbe6c1245520a53bf43513cdde697a09b90e62361 (patch)
tree13cb12f2b23e886d5d1c9ccdf447cfe24808aed8 /community/rtorrent
parenteadaf245dcd43f5a3b33585ff80fdae7e64f850b (diff)
parent0a595245dd258cc0ad9a5de2b292cf1b1a94f51a (diff)
merged pre master
Diffstat (limited to 'community/rtorrent')
-rw-r--r--community/rtorrent/PKGBUILD43
1 files changed, 23 insertions, 20 deletions
diff --git a/community/rtorrent/PKGBUILD b/community/rtorrent/PKGBUILD
index 62e0f7517..7501d59d5 100644
--- a/community/rtorrent/PKGBUILD
+++ b/community/rtorrent/PKGBUILD
@@ -3,30 +3,33 @@
# Contributor: sh__
pkgname=rtorrent
-pkgver=0.8.6
-pkgrel=3
-pkgdesc="Ncurses BitTorrent client based on libTorrent"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://libtorrent.rakshasa.no"
+pkgver=0.8.9
+pkgrel=2
+pkgdesc='Ncurses BitTorrent client based on libTorrent'
+url='http://libtorrent.rakshasa.no/'
license=('GPL')
-depends=('libtorrent=0.12.6' 'curl>=7.14.3' 'xmlrpc-c>=1858')
-source=("http://libtorrent.rakshasa.no/downloads/$pkgname-$pkgver.tar.gz" \
- ncurses58.patch)
-options=(!strip)
+arch=('i686' 'x86_64' 'mips64el')
+depends=('libtorrent=0.12.9' 'curl' 'xmlrpc-c')
+source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('0ac51c185e98b5a386e5f1a07bca9a9963e2d6ce')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -Np0 -i $srcdir/ncurses58.patch
+ cd "${srcdir}/${pkgname}-${pkgver}"
- CXXFLAGS="$CXXFLAGS -g -fno-strict-aliasing" \
- ./configure --prefix=/usr --enable-debug --with-xmlrpc-c
- make
- make DESTDIR="$pkgdir" install
+ export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
+ ./configure \
+ --prefix=/usr \
+ --enable-debug \
+ --with-xmlrpc-c \
+
+ make
}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
-# vim:set ts=2 sw=2 et:
-md5sums=('b804c45c01c40312926bcea6b55bb084'
- 'b8fcd9b6d3385a85ff31de6f32e60e7d')
-md5sums=('b804c45c01c40312926bcea6b55bb084'
- '1a525adddc0424c23ed9a4aa31c0164a')
+ install -D doc/faq.xml "${pkgdir}"/usr/share/doc/rtorrent/faq.xml
+ install -D doc/rtorrent.1 "${pkgdir}"/usr/share/man/man1/rtorrent.1
+ install -D doc/rtorrent.rc "${pkgdir}"/usr/share/doc/rtorrent/rtorrent.rc
+}