# Maintainer: David Birks pkgname=tilt pkgdesc='Local Kubernetes development with no stress' pkgver=0.13.1 pkgrel=1 arch=('x86_64') license=('Apache') url='https://github.com/windmilleng/tilt' optdepends=('kubectl') makedepends=('go' 'nodejs' 'yarn') conflicts=('tilt-bin') source=("$pkgname-$pkgver.tar.gz::https://github.com/windmilleng/tilt/archive/v$pkgver.tar.gz") sha256sums=('91e30bfb719b4eef461e4fac3eb2983fc90fe8e5f1c6a358a94e0e29830fc50a') build() { cd $pkgname-$pkgver make ensure build build-js go build \ -trimpath \ -ldflags "-X main.version=$pkgver -X main.date=$(date --iso-8601)" \ -o tilt \ cmd/tilt/main.go } package() { install -Dm 755 "$srcdir/$pkgname-$pkgver/$pkgname" "$pkgdir/usr/bin/$pkgname" }