summaryrefslogtreecommitdiff
path: root/pcr/rtorrent-color/PKGBUILD
diff options
context:
space:
mode:
authorAurelien Desbrieres <aurelien@hackers.camp>2014-12-19 18:42:40 +0100
committerAurelien Desbrieres <aurelien@hackers.camp>2014-12-19 18:42:40 +0100
commit5a9d7f349389ea70e03d430b46186ddda98f68a8 (patch)
tree6a20dd732c9ddf92a589918915fcda43562f590c /pcr/rtorrent-color/PKGBUILD
parentba43f4fcd2d95db238c728eae98b318de564bf67 (diff)
parente72d299db015781d748003eaf5ac8e5a8126dae9 (diff)
Ncurses BitTorrent client based on libTorrent with color patch.
Diffstat (limited to 'pcr/rtorrent-color/PKGBUILD')
-rw-r--r--pcr/rtorrent-color/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/pcr/rtorrent-color/PKGBUILD b/pcr/rtorrent-color/PKGBUILD
new file mode 100644
index 000000000..2016108f1
--- /dev/null
+++ b/pcr/rtorrent-color/PKGBUILD
@@ -0,0 +1,43 @@
+# 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
+# Based on rtorrent-color from AUR
+
+pkgname=rtorrent-color
+_pkgname="rtorrent"
+#_pkgname="${pkgname%-*}" not supported by AUR ;)
+pkgver=0.9.4
+pkgrel=2
+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++")
+conflicts=("${_pkgname}")
+provides=("${_pkgname}")
+install="${pkgname}.install"
+source=("${url}/downloads/${_pkgname}-${pkgver}.tar.gz"
+ "${_pkgname}-${pkgver}_color.patch")
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ patch -uNp1 -i "${srcdir}/${_pkgname}-${pkgver}_color.patch"
+
+ 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"
+}