summaryrefslogtreecommitdiff
path: root/~fauno/transmission-remote-cli/PKGBUILD
blob: 5e3699bce9b0b38ef94f5e8fd239db61d816e44d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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')