# Maintainer: fauno 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')