[arch-commits] Commit in qpid-proton/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Jul 8 13:49:48 UTC 2018


    Date: Sunday, July 8, 2018 @ 13:49:48
  Author: foutrelis
Revision: 354910

archrelease: copy trunk to community-staging-x86_64

Added:
  qpid-proton/repos/community-staging-x86_64/
  qpid-proton/repos/community-staging-x86_64/PKGBUILD
    (from rev 354909, qpid-proton/trunk/PKGBUILD)

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

Copied: qpid-proton/repos/community-staging-x86_64/PKGBUILD (from rev 354909, qpid-proton/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-07-08 13:49:48 UTC (rev 354910)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=(qpid-proton python2-qpid-proton)
+pkgver=0.23.0
+pkgrel=2
+pkgdesc='High-performance, lightweight messaging library'
+arch=('x86_64')
+url='https://qpid.apache.org/proton'
+license=('Apache')
+makedepends=('cmake' 'doxygen' 'python' 'python2' 'swig')
+source=("http://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
+sha512sums=('5000916c9b44c799bdcd78932def57b13b9c24cd73885c9e3c769e2b1d55c7f7851feef439d6e9c7ae9be4a602e3370ec78cf51a551b4e0ccdcacf91e18dd8bd')
+
+build() {
+    cd ${pkgname}-${pkgver}
+
+    mkdir build
+    cd build
+    cmake \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DLIB_SUFFIX='' \
+        -DSYSINSTALL_BINDINGS=ON \
+        ..
+    make
+
+    cd python/dist
+    python2 setup.py build
+}
+
+package_qpid-proton() {
+    depends=('python' 'ruby')
+
+    cd ${pkgname}-${pkgver}/build
+    make DESTDIR="${pkgdir}" install
+}
+
+package_python2-qpid-proton() {
+    depends=('python2')
+
+    cd qpid-proton-${pkgver}/build/python/dist
+    python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
+}



More information about the arch-commits mailing list