# Maintainer: Nicola Squartini # ALARM: Kevin Mihelich # - disable LTO pkgname=qpid-proton pkgver=0.31.0 pkgrel=1 pkgdesc='High-performance, lightweight messaging library' arch=('x86_64') url='https://qpid.apache.org/proton' license=('Apache') depends=('libjsoncpp.so' 'python') makedepends=('cmake' 'doxygen' 'go' 'python-setuptools' 'python-sphinx' 'python-wheel' 'swig') checkdepends=('python-tox') source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz") sha512sums=('39487c34ae6ae1cc0c2f57f2ffb2bdf48a554e9ba8439a5c3f9776205cdb138f71284c9fc7626e4bbee3110ccce7da61ddb45f51ebddfede981ada0872074202') build() { cd ${pkgname}-${pkgver} mkdir build cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX='' \ -DSYSINSTALL_BINDINGS=ON \ -DENABLE_LINKTIME_OPTIMIZATION=OFF \ .. make } check() { cd ${pkgname}-${pkgver}/build make test } package() { cd ${pkgname}-${pkgver}/build make DESTDIR="${pkgdir}" install }