PKGBUILDs/community/qpid-proton/PKGBUILD
2022-08-17 12:34:39 +00:00

45 lines
1.1 KiB
Bash

# Maintainer: Nicola Squartini <tensor5@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable LTO
pkgname=qpid-proton
pkgver=0.37.0
pkgrel=2
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')
options=(!emptydirs)
source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
sha512sums=('84d67aab0e81f371fbcee3db89a8a585794966e17ffcd2e2e9418cb587efc0bc4e635c6ce251ebefd716817632ea5b049b759678cebbad64a0d0c07285bd5962')
build() {
cd ${pkgname}-${pkgver}
mkdir build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX='' \
-DSYSINSTALL_BINDINGS=ON \
-DENABLE_LINKTIME_OPTIMIZATION=OFF \
-DENABLE_TOX_TEST=OFF \
..
make
}
check() {
cd ${pkgname}-${pkgver}/build
make test || true
}
package() {
cd ${pkgname}-${pkgver}/build
make DESTDIR="${pkgdir}" install
}