summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Szczurek2015-08-24 00:23:30 +0200
committerBogdan Szczurek2015-08-24 00:23:30 +0200
commit97d982bf85d9e9a68112753879a06359ce2aa892 (patch)
tree9e4ae296a8ceaa27f605caf0a362fb8ec90e9987
downloadaur-97d982bf85d9e9a68112753879a06359ce2aa892.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD21
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dffa1b61ed9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-transmissionrpc
+ pkgdesc = Module to communicate with Transmission BT client via JSON-RPC
+ pkgver = 0.11
+ pkgrel = 1
+ url = https://bitbucket.org/blueluna/transmissionrpc/wiki/Home
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ depends = python-six
+ source = https://bitbucket.org/blueluna/transmissionrpc/get/release-0.11.tar.gz
+ md5sums = 2ec4dc465435cc970c20f1e10524439b
+
+pkgname = python-transmissionrpc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ba5fba6fb5d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Bogdan Szczurek <thebodzio@gmail.com>
+
+pkgname=python-transmissionrpc
+pkgver=0.11
+pkgrel=1
+pkgdesc="Module to communicate with Transmission BT client via JSON-RPC"
+arch=(any)
+url="https://bitbucket.org/blueluna/transmissionrpc/wiki/Home"
+license=('MIT')
+depends=('python' 'python-six')
+makedepends=('python-setuptools')
+source=(https://bitbucket.org/blueluna/${pkgname:7}/get/release-${pkgver}.tar.gz)
+
+package() {
+ cd "$srcdir/blueluna-${pkgname:7}-eb2a32720f8a"
+ python setup.py install --root="$pkgdir/" --optimize=1
+
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+md5sums=('2ec4dc465435cc970c20f1e10524439b')