# Maintainer: Leonid Koftun pkgname=kafkactl pkgver=1.4.0 pkgrel=1 pkgdesc='Command Line Tool for managing Apache Kafka' arch=('i686' 'x86_64') url="https://github.com/deviceinsight/kafkactl" license=('Apache') makedepends=('go') depends=('glibc') source=("$url/archive/$pkgver.tar.gz") sha256sums=('098f1edde2feb6fc37e41d4a40bb56f8daba6fde1557d9a9f2ce84b7517338e7') build() { cd $pkgname-$pkgver go build \ -ldflags "-extldflags $LDFLAGS" \ -o $pkgname . } package() { cd $pkgname-$pkgver install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname }