[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at archlinux.org
Sun Nov 20 15:27:19 UTC 2016


    Date: Sunday, November 20, 2016 @ 15:27:18
  Author: anthraxx
Revision: 196385

addpkg: rabbitmqadmin 3.6.5-1

Added:
  rabbitmqadmin/
  rabbitmqadmin/repos/
  rabbitmqadmin/trunk/
  rabbitmqadmin/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Added: rabbitmqadmin/trunk/PKGBUILD
===================================================================
--- rabbitmqadmin/trunk/PKGBUILD	                        (rev 0)
+++ rabbitmqadmin/trunk/PKGBUILD	2016-11-20 15:27:18 UTC (rev 196385)
@@ -0,0 +1,26 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Dmitry Chusovitin <dchusovitin at gmail.com>
+
+pkgname=rabbitmqadmin
+pkgver=3.6.5
+pkgrel=1
+pkgdesc='Command-line tool for managing RabbitMQ server (requires "management" plugin)'
+url='https://www.rabbitmq.com/management-cli.html'
+arch=('any')
+license=('MPL')
+depends=('python')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rabbitmq/rabbitmq-management/archive/rabbitmq_v${pkgver//./_}.tar.gz)
+sha512sums=('58728f5ac7aa0d4e2cc3979586a469b0113f7e7fb2aac354b8f21f724577bc90f5fd6528b824e7d2fceff32a927d79630a8a9256d54f4b09850287190400458d')
+
+prepare() {
+  cd rabbitmq-management-rabbitmq_v${pkgver//./_}
+  sed -e "s|%%VSN%%|${pkgver}|" -i bin/rabbitmqadmin
+}
+
+package() {
+  cd rabbitmq-management-rabbitmq_v${pkgver//./_}
+  install -Dm 755 bin/rabbitmqadmin -t "${pkgdir}/usr/bin"
+  install -Dm 644 LICENSE-MPL-RabbitMQ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list