summaryrefslogtreecommitdiff
path: root/pcr/transmission-remote-cli
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /pcr/transmission-remote-cli
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/transmission-remote-cli')
-rw-r--r--pcr/transmission-remote-cli/PKGBUILD25
-rw-r--r--pcr/transmission-remote-cli/python2.patch9
2 files changed, 34 insertions, 0 deletions
diff --git a/pcr/transmission-remote-cli/PKGBUILD b/pcr/transmission-remote-cli/PKGBUILD
new file mode 100644
index 000000000..dcabaa642
--- /dev/null
+++ b/pcr/transmission-remote-cli/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: fauno <fauno@kiwwwi.com.ar>
+pkgname=transmission-remote-cli
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="Curses interface for the daemon of the BitTorrent client Transmission"
+arch=('any')
+url="https://github.com/fagga/transmission-remote-cli"
+license=('GPL3')
+depends=('python2')
+optdepends=('transmission-daemon: for local transmission management'
+ 'adns-python: Resolve IPs to host names'
+ 'python2-geoip: Guess which country peers come from')
+conflicts=('transmission-remote-cli-git' "transmission-remote-cli<=20111013")
+replaces=('transmission-remote-cli-git')
+source=(https://github.com/fagga/${pkgname}/archive/v${pkgver}.tar.gz)
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ msg "Starting make..."
+
+ install -d ${pkgdir}/usr/bin/
+ install -Dm755 transmission-remote-cli.py ${pkgdir}/usr/bin/transmission-remote-cli
+
+}
+md5sums=('4c13aa8596d35ce5793ea65affa8a6e5')
diff --git a/pcr/transmission-remote-cli/python2.patch b/pcr/transmission-remote-cli/python2.patch
new file mode 100644
index 000000000..256b676f0
--- /dev/null
+++ b/pcr/transmission-remote-cli/python2.patch
@@ -0,0 +1,9 @@
+diff -Nur transmission-remote-cli/transmission-remote-cli.py transmission-remote-cli-python2//transmission-remote-cli.py
+--- transmission-remote-cli/transmission-remote-cli.py 2010-10-19 10:33:49.544594708 -0300
++++ transmission-remote-cli-python2//transmission-remote-cli.py 2010-10-19 10:42:51.278983745 -0300
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ ########################################################################
+ # This is transmission-remote-cli, whereas 'cli' stands for 'Curses #
+ # Luminous Interface', a client for the daemon of the BitTorrent #