summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c8dffb485716c9acd8253f3ea336947c21a6019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Thor77 <thor77 at thor77 dot org>
pkgname='wash'
pkgver='0.23.3'
pkgrel='1'
pkgdesc='A cloud-native shell for bringing remote infrastructure to your terminal'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url='https://puppetlabs.github.io/wash/'
license=('Apache')
makedepends=('go' 'git')
source=("https://github.com/puppetlabs/wash/archive/${pkgver}.tar.gz")
sha256sums=('006258aa19f4f62c356db83b52f1858674991839eeb2bb3f36fc06494f9fa458')

build() {
  cd "$pkgname-$pkgver"
  go build .
}

package() {
  cd "$pkgname-$pkgver"
  install -D -m755 wash "${pkgdir}/usr/bin/wash"
}