[arch-commits] Commit in qpid-proton/repos (2 files)
Levente Polyak
anthraxx at archlinux.org
Sat Sep 14 12:30:45 UTC 2019
Date: Saturday, September 14, 2019 @ 12:30:45
Author: anthraxx
Revision: 510526
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 510525, qpid-proton/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: qpid-proton/repos/community-staging-x86_64/PKGBUILD (from rev 510525, qpid-proton/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-09-14 12:30:45 UTC (rev 510526)
@@ -0,0 +1,42 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=(qpid-proton python2-qpid-proton)
+pkgver=0.29.0
+pkgrel=4
+pkgdesc='High-performance, lightweight messaging library'
+arch=('x86_64')
+url='https://qpid.apache.org/proton'
+license=('Apache')
+makedepends=('cmake' 'doxygen' 'python' 'python2' 'swig' 'jsoncpp')
+source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
+sha512sums=('d6b7bc9811230c48b0c10c3cc076a6de6b29c5e22d69556f83e21110eeb9a105d11328b2993694a2e39f0681007b4b3144270ea18efd456a802a08cb564ae4a4')
+
+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=('jsoncpp' 'libjsoncpp.so' '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