diff options
author | Orvyx | 2020-02-07 23:12:18 -0800 |
---|---|---|
committer | Orvyx | 2020-02-07 23:12:18 -0800 |
commit | 9b5abc85a08e773bb52989ee2e0670203f8ad569 (patch) | |
tree | 46b74bd3356199fd00abdef50452a3f5e0474acf /PKGBUILD | |
download | aur-puppet-bolt-git.tar.gz |
initial add of bolt, built from git repo, to AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..853e503bc584 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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' +} |