PKGBUILDs/aur/python2-transmissionrpc/PKGBUILD
Kevin Mihelich 0aef3758c5 aur updates
2013-10-11 17:15:47 +00:00

24 lines
750 B
Bash

# Maintainer: Bogdan Szczurek <thebodzio@gmail.com>
pkgname=python2-transmissionrpc
pkgver=0.10
pkgrel=2
pkgdesc="Module to communicate with Transmission BT client via JSON-RPC"
arch=(any)
url="https://bitbucket.org/blueluna/transmissionrpc/wiki/Home"
license=('MIT')
depends=('python2' 'python2-six')
makedepends=('python2-setuptools')
conflicts=('pytransmissionrpc')
replaces=('pytransmissionrpc')
source=(https://bitbucket.org/blueluna/${pkgname:8}/get/release-${pkgver}.tar.gz)
package() {
cd "$srcdir/blueluna-${pkgname:8}-f74c8cbb721e"
python2 setup.py install --root="$pkgdir/" --optimize=1
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
md5sums=('65c887ded3ccda6211ac635bc39d3b54')