# Maintainer: Leonid Koftun pkgname=kafkactl pkgver=1.13.2 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/v$pkgver.tar.gz") sha256sums=('baae6dc011f5a88e075677af278b4cac2607c4efa5af39409d383211050c0dee') build() { cd $pkgname-$pkgver go build \ -ldflags "-extldflags $LDFLAGS" \ -o $pkgname . } package() { cd $pkgname-$pkgver install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname }