summaryrefslogtreecommitdiff
path: root/pcr/rtorrent-color/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/rtorrent-color/PKGBUILD')
-rw-r--r--pcr/rtorrent-color/PKGBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/pcr/rtorrent-color/PKGBUILD b/pcr/rtorrent-color/PKGBUILD
index 39f52b1e4..c35ddf40d 100644
--- a/pcr/rtorrent-color/PKGBUILD
+++ b/pcr/rtorrent-color/PKGBUILD
@@ -1,45 +1,45 @@
-# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
-# Contributor: KopfKrieg <archlinux [at] absolem [dot] cc>
-# Contributor: Ashren <edgar [at] archlinux [dot] us>
-# Contributor: Lucky <archlinux@builds.lucky.li> and Hleem
+# Maintainer (Arch): KopfKrieg <archlinux [at] absolem [dot] cc>
+# Contributor (Arch): Ashren <edgar [at] archlinux [dot] us>
+# Contributors (Arch): Lucky <archlinux@builds.lucky.li> and Hleem
# Based on rtorrent-color from AUR
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=rtorrent-color
_pkgname="rtorrent"
-#_pkgname="${pkgname%-*}" not supported by AUR ;)
pkgver=0.9.4
-pkgrel=2
+pkgrel=4
pkgdesc="Ncurses BitTorrent client based on libTorrent with color patch."
url="http://libtorrent.rakshasa.no"
arch=("i686" "x86_64")
license=("GPL")
-depends=("curl" "libtorrent=0.13.4" "xmlrpc-c" "libsigc++")
+depends=("curl" "libtorrent>=0.13.4" "xmlrpc-c" "libsigc++")
conflicts=("${_pkgname}")
provides=("${_pkgname}")
install="${pkgname}.install"
-source=("${url}/downloads/${_pkgname}-${pkgver}.tar.gz"
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rakshasa/${_pkgname}/archive/${pkgver}.tar.gz"
"${_pkgname}-${pkgver}_color.patch")
-sha1sums=('e997822e9b0d53cf8ecfb6b836e380065890e10d'
+sha1sums=('c1f0b27425f6b025db550cf5ce1997a16af6ff7b'
'78429b5cf5976270dc1a55d8dc0ef4644675512b')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
patch -uNp1 -i "${srcdir}/${_pkgname}-${pkgver}_color.patch"
-
+
+ sed '/AM_PATH_CPPUNIT/d' -i configure.ac
+ ./autogen.sh
+
export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
./configure \
--prefix=/usr \
--enable-debug \
--with-xmlrpc-c \
-
+
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
-
make DESTDIR="${pkgdir}" install
-
install -Dm644 doc/rtorrent.rc "${pkgdir}/usr/share/doc/rtorrent/rtorrent.rc"
}