ruby-sensu: add
This commit is contained in:
parent
ea80567ac0
commit
301011d270
1 changed files with 23 additions and 0 deletions
23
pkgbuild/ruby-sensu/PKGBUILD
Normal file
23
pkgbuild/ruby-sensu/PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Generated by gem2arch (https://github.com/anatol/gem2arch)
|
||||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||
|
||||
_gemname=sensu
|
||||
pkgname=ruby-$_gemname
|
||||
pkgver=0.20.1
|
||||
pkgrel=1
|
||||
pkgdesc='A monitoring framework'
|
||||
arch=(any)
|
||||
url='http://sensuapp.org'
|
||||
license=(MIT)
|
||||
depends=(ruby ruby-multi_json ruby-uuidtools ruby-eventmachine-1.0.3 ruby-sensu-em ruby-sensu-logger ruby-sensu-settings ruby-sensu-extension ruby-sensu-extensions ruby-sensu-transport ruby-sensu-spawn ruby-em-redis-unified ruby-sinatra ruby-async_sinatra ruby-thin)
|
||||
options=(!emptydirs)
|
||||
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
|
||||
noextract=($_gemname-$pkgver.gem)
|
||||
sha1sums=('6795ea598b270172c4821f00bdc9baa1e36450ba')
|
||||
|
||||
package() {
|
||||
local _gemdir="$(ruby -e'puts Gem.default_dir')"
|
||||
gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
|
||||
rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
|
||||
install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/MIT-LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE.txt"
|
||||
}
|
Loading…
Reference in a new issue