summaryrefslogtreecommitdiff
path: root/pcr/rtorrent-color/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-16 14:28:35 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-16 14:28:35 -0500
commit33cb2626115098f35e412399cb76ea202f9a490a (patch)
treec4fad466bcb609446608ae0883ee1d567b317f1f /pcr/rtorrent-color/PKGBUILD
parent7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984 (diff)
rtorrent-color-0.9.4-4: rebuild
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"
}