PKGBUILDs/community/qpid-proton/PKGBUILD
2020-07-28 02:34:22 +00:00

43 lines
1.1 KiB
Bash

# Maintainer: Nicola Squartini <tensor5@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - 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
}