[arch-commits] Commit in librdkafka/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Mon May 10 16:42:19 UTC 2021
Date: Monday, May 10, 2021 @ 16:42:18
Author: anatolik
Revision: 929567
archrelease: copy trunk to community-testing-x86_64
Added:
librdkafka/repos/community-testing-x86_64/
librdkafka/repos/community-testing-x86_64/PKGBUILD
(from rev 929566, librdkafka/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: librdkafka/repos/community-testing-x86_64/PKGBUILD (from rev 929566, librdkafka/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-05-10 16:42:18 UTC (rev 929567)
@@ -0,0 +1,31 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Andrew Sun <adsun701 at gmail dot com>
+# Contributor: Joel Teichroeb <joel at teichroeb dot net>
+# Contributor: Alim Gokkaya <alimgokkaya at gmail dot com>
+
+pkgname=librdkafka
+pkgver=1.7.0
+pkgrel=1
+pkgdesc='The Apache Kafka C/C++ library'
+arch=(x86_64)
+url='https://github.com/edenhill/librdkafka'
+license=(BSD)
+depends=(libsasl zstd)
+makedepends=(python openssl lz4 rapidjson cmake)
+source=(librdkafka-$pkgver.tar.gz::https://github.com/edenhill/librdkafka/archive/v$pkgver.tar.gz)
+sha256sums=('c71b8c5ff419da80c31bb8d3036a408c87ad523e0c7588e7660ee5f3c8973057')
+
+build() {
+ cmake -S librdkafka-$pkgver -B build
+ cmake --build build -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+check() {
+ # TODO: figure out why the tests timeout
+ # cmake --build build --target test
+ true
+}
+
+package() {
+ cmake --build build --target install -- DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list