summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSebastian Zwierzchowski2021-06-29 21:07:56 +0200
committerSebastian Zwierzchowski2021-06-29 21:07:56 +0200
commit5cc60607063c742e822fbf655d3904e47b2906d0 (patch)
tree93f9099ab1884b58f475bb2cc2b567cb5cf5b1c3 /PKGBUILD
downloadaur-5cc60607063c742e822fbf655d3904e47b2906d0.tar.gz
wto, 29 cze 2021, 21:07:56 CEST
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1794823146b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer:
+
+_pkgbase=amqpstorm
+pkgname=python-$(echo "$_pkgbase" | tr '[:upper:]' '[:lower:]')
+pkgver=2.9.0
+pkgrel=1
+pkgdesc="Thread-safe Python RabbitMQ Client & Management library."
+arch=('any')
+url="https://www.amqpstorm.io/"
+license=('MIT License)')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/eandersson/amqpstorm/archive/refs/tags/${pkgver}.zip")
+
+build() {
+ cd "$srcdir/$_pkgbase-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$_pkgbase-$pkgver"
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+}
+sha256sums=('f627c2785855940a744fcaee0328126fd471c4e2e2ce89e5ee9f27d0014744d6')