# Contributor: Bennett Goble # Contributor: Mike Milner # Maintainer: Bennett Goble pkgname=librdkafka pkgver=1.2.1 pkgrel=0 pkgdesc="The Apache Kafka C/C++ library" url="https://github.com/edenhill/librdkafka" arch="all" license="BSD-2-Clause" makedepends="bash openssl-dev cyrus-sasl-dev lz4-dev zlib-dev zstd-dev" subpackages="$pkgname-static $pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/edenhill/librdkafka/archive/v$pkgver.tar.gz" build() { ./configure --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="57341a0e4dbe98b9da912f5a63cc82490222bd91aef7c3cda3acaa4807e1d13ac047fbff8898f7459e7a1cb46f02dfc665e8c5bddffd8153d67a2c0546000a62 librdkafka-1.2.1.tar.gz"