PKGBUILDs/community/qpid-proton/PKGBUILD

39 lines
1 KiB
Bash
Raw Normal View History

2019-08-28 19:59:51 +00:00
# Maintainer: Nicola Squartini <tensor5@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable LTO
2020-04-27 12:38:03 +00:00
pkgname=qpid-proton
2022-11-23 02:15:06 +00:00
pkgver=0.38.0
pkgrel=1
2019-08-28 19:59:51 +00:00
pkgdesc='High-performance, lightweight messaging library'
arch=('x86_64')
url='https://qpid.apache.org/proton'
license=('Apache')
2020-07-28 02:34:22 +00:00
depends=('libjsoncpp.so' 'python')
makedepends=('cmake' 'doxygen' 'go' 'python-setuptools' 'python-sphinx' 'python-wheel' 'swig')
2021-12-13 00:29:14 +00:00
options=(!emptydirs)
2022-11-23 02:15:06 +00:00
source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
sha512sums=('5333046c954d8b63c59579b05173fa2345e0a61f37a305d23b9e3afee461280c82f9f1c19c30954ba32176ce5fef9ce1f0afc57c99d6c614b2d66cdbb71ff00e')
2019-08-28 19:59:51 +00:00
build() {
2022-11-23 02:15:06 +00:00
cmake -B build -S $pkgname-$pkgver \
2019-08-28 19:59:51 +00:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX='' \
-DSYSINSTALL_BINDINGS=ON \
-DENABLE_LINKTIME_OPTIMIZATION=OFF \
2020-12-02 19:35:58 +00:00
-DENABLE_TOX_TEST=OFF \
2022-11-23 02:15:06 +00:00
-DBUILD_TLS=ON
cmake --build build
2019-08-28 19:59:51 +00:00
}
2020-07-28 02:34:22 +00:00
check() {
2022-11-23 02:15:06 +00:00
cd build
2020-07-28 02:34:22 +00:00
2021-12-13 00:29:14 +00:00
make test || true
2020-07-28 02:34:22 +00:00
}
2020-04-27 12:38:03 +00:00
package() {
2022-11-23 02:15:06 +00:00
DESTDIR="${pkgdir}" cmake --install build
2019-08-28 19:59:51 +00:00
}