# Maintainer: Nicola Squartini # ALARM: Kevin Mihelich # - disable LTO pkgname=qpid-proton pkgver=0.32.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=('4d1265308b685d5cdd28fd8746f13704c6e36a8dc35a2c121e07b9db21cabaf440da8dd1cf76892fc366845e7f472af2c29ae94dedee19d53756bba2bd4470b6') 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 }