summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 46c5f0510e44c32676d2447792213173923b9a03 (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.22.0'
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=('6895280fcd99b58e6164b73e99b2383728e46d01af2748cb6cf786d90fd66fae')

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

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