summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 853e503bc584c8ec65e74348a7775db9a93710eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Drew Ortega <orvyx@protonmail.com>

pkgname=puppet-bolt-git
pkgver=1.48.0.r21.g9064dbe6
pkgrel=1
pkgdesc='Bolt is an orchestration tool that automates remote nodes with SSH or WinRM'
arch=('x86_64')
url='https://github.com/puppetlabs/bolt'
license=('Apache')
makedepends=('ruby' 'git')
source=('git+https://github.com/puppetlabs/bolt')
sha256sums=('SKIP')

conflicts=('puppet-bolt')

build() {
  gem install net-ssh-krb
  cd "bolt"
  gem build  
}

package() {
  cd "bolt"
  gem install --local ./bolt-*.gem
}

pkgver() {
  cd "bolt"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}