# Maintainer: Jochen Schalanda _gemname=websocket pkgname=ruby-$_gemname-1.0 pkgver=1.0.7 pkgrel=1 pkgdesc='Universal Ruby library to handle the WebSocket protocol' arch=('any') url='https://github.com/imanel/websocket-ruby' license=('MIT') depends=('ruby') source=(http://rubygems.org/downloads/$_gemname-$pkgver.gem) noextract=($_gemname-$pkgver.gem) package() { cd "$srcdir" 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 } md5sums=('249f22482703ed541302afbaa8143edf')