PKGBUILDs/community/qpid-proton/PKGBUILD

37 lines
961 B
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
2020-01-17 19:01:42 +00:00
pkgver=0.30.0
2020-04-27 12:38:03 +00:00
pkgrel=3
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-04-27 12:38:03 +00:00
depends=('libjsoncpp.so' 'python' 'ruby')
makedepends=('cmake' 'doxygen' 'python-setuptools' 'swig')
2019-08-28 19:59:51 +00:00
source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
2020-01-17 19:01:42 +00:00
sha512sums=('0e55d6a2c9803ef72604c50c7b934379092680b5edd52e3641a851f50ba1136bfa83cd30328d2b3235152331109d3204aa32168aa626d6e8e34a590d82553cc8')
2019-08-28 19:59:51 +00:00
build() {
cd ${pkgname}-${pkgver}
mkdir build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX='' \
-DSYSINSTALL_BINDINGS=ON \
-DENABLE_LINKTIME_OPTIMIZATION=OFF \
..
make
}
2020-04-27 12:38:03 +00:00
package() {
2019-08-28 19:59:51 +00:00
cd ${pkgname}-${pkgver}/build
2020-04-27 12:38:03 +00:00
make DESTDIR="${pkgdir}" install
2019-08-28 19:59:51 +00:00
}