blob: d3d6b2ce128adc9804b9e0c186ef01d6da43727d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: 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.2.1
pkgrel=1
pkgdesc='Apache Kafka C driver library'
arch=('x86_64')
url="https://github.com/edenhill/librdkafka"
license=('BSD')
depends=(libsasl zstd)
makedepends=(python openssl lz4 rapidjson)
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/edenhill/librdkafka/archive/v${pkgver}.tar.gz")
sha256sums=('f6be27772babfdacbbf2e4c5432ea46c57ef5b7d82e52a81b885e7b804781fd6')
build() {
cd $srcdir/librdkafka-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $srcdir/librdkafka-$pkgver
make install DESTDIR="$pkgdir"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|