summaryrefslogtreecommitdiff
path: root/pcr/transmission-remote-cli
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-25 13:01:23 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-25 13:01:23 -0300
commitf9493ab620982f2c2a379c475e8fd2bae7114b6e (patch)
tree5e2f7992730be405a0dfdb6d8b40f2bca1a52996 /pcr/transmission-remote-cli
parent2ed610fdb57e40814f98260c69e7b4d67819a7a7 (diff)
parent9812539755a6a6add00fcf90f52a8a20b0385bfb (diff)
downloadabslibre-f9493ab620982f2c2a379c475e8fd2bae7114b6e.tar.gz
abslibre-f9493ab620982f2c2a379c475e8fd2bae7114b6e.tar.bz2
abslibre-f9493ab620982f2c2a379c475e8fd2bae7114b6e.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/transmission-remote-cli')
-rw-r--r--pcr/transmission-remote-cli/PKGBUILD29
-rw-r--r--pcr/transmission-remote-cli/python2.patch9
2 files changed, 38 insertions, 0 deletions
diff --git a/pcr/transmission-remote-cli/PKGBUILD b/pcr/transmission-remote-cli/PKGBUILD
new file mode 100644
index 000000000..5e3699bce
--- /dev/null
+++ b/pcr/transmission-remote-cli/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: fauno <fauno@kiwwwi.com.ar>
+pkgname=transmission-remote-cli
+pkgver=0.10.4
+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>=2.40: for local transmission management'
+ 'adns-python: Resolve IPs to host names'
+ 'python-geoip: Guess which country peers come from')
+conflicts=('transmission-remote-cli-git' "transmission-remote-cli<=20111013")
+replaces=('transmission-remote-cli-git')
+source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz
+ python2.patch)
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ msg "Starting make..."
+
+ patch -Np1 -i ${srcdir}/python2.patch
+
+ install -d ${pkgdir}/usr/bin/
+ install -Dm755 transmission-remote-cli.py ${pkgdir}/usr/bin/transmission-remote-cli
+
+}
+md5sums=('b85382bc2e24c5733f9c3833098da668'
+ '6273609fb3a7294328aeaa526b76411c')
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 #