summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBenjamin Powers2016-03-21 20:08:51 -0600
committerBenjamin Powers2016-03-21 20:08:51 -0600
commit2ed9605dabeb1a5178862ce0b39476e30322e4ba (patch)
treef8cc77ea4dfe41d2a2cdebdcdee271207075d5e7 /PKGBUILD
downloadaur-2ed9605dabeb1a5178862ce0b39476e30322e4ba.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ac914162e1c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,16 @@
+_pypiname=py-amqplib
+pkgname=python-amqplib
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="AMQP Client Library"
+arch=(any)
+source=("https://github.com/barryp/py-amqplib/archive/${pkgver}.tar.gz")
+license=("LGPL")
+makedepends=("python" "python-setuptools")
+md5sums=('ff405a7b57aa98cdf07d02bd8090fa29')
+
+package() {
+ cd "$_pypiname-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}