1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 12:40:30 +01:00

Add 'ruby-em-websocket/' from commit '0888c6e6867103fb636d3925c34715e5516c8576'

git-subtree-dir: ruby-em-websocket
git-subtree-mainline: 9684caf1f5
git-subtree-split: 0888c6e686
This commit is contained in:
2021-08-14 13:22:48 +02:00
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Generated by mksrcinfo v8
# Tue Jul 6 03:45:12 UTC 2021
pkgbase = ruby-em-websocket
pkgdesc = EventMachine based WebSocket server
pkgver = 0.5.2
pkgrel = 2
url = https://github.com/igrigorik/em-websocket
arch = any
license = MIT
depends = ruby
depends = ruby-eventmachine>=0.12.9
depends = ruby-http_parser.rb>=0.6.0
provides = ruby-em-websocket=0.5.2
noextract = em-websocket-0.5.2.gem
options = !emptydirs
source = https://rubygems.org/downloads/em-websocket-0.5.2.gem
source = LICENCE
sha512sums = f032ff1c4eb6af790ba37def307c79faf3a1cbf87ee9a2a724f17a2be782bafcdc509eb027c0125137c934dc545372d2a32d6b26878b97533710e8962242b0de
sha512sums = 70d165a57fd28a316027c97da6dc73cb2ca26e8c58f14414d7e109247abd5c9af435ecfe482e2b007764497471327b33d39ce13c86eb1d8a93ed5f62db96cee6
pkgname = ruby-em-websocket

View File

@@ -0,0 +1,7 @@
Copyright (c) 2009-2014 Ilya Grigorik, Martyn Loughran
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,29 @@
# Maintainer: Shengyu Zhang <la@archlinuxcn.org>
_gemname=em-websocket
pkgname=ruby-$_gemname
pkgver=0.5.2
pkgrel=2
pkgdesc='EventMachine based WebSocket server'
arch=('any')
url='https://github.com/igrigorik/em-websocket'
license=('MIT')
depends=('ruby'
'ruby-eventmachine>=0.12.9'
'ruby-http_parser.rb>=0.6.0'
)
provides=("$pkgname=$pkgver")
options=(!emptydirs)
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem"
'LICENCE'
)
noextract=($_gemname-$pkgver.gem)
sha512sums=('f032ff1c4eb6af790ba37def307c79faf3a1cbf87ee9a2a724f17a2be782bafcdc509eb027c0125137c934dc545372d2a32d6b26878b97533710e8962242b0de'
'70d165a57fd28a316027c97da6dc73cb2ca26e8c58f14414d7e109247abd5c9af435ecfe482e2b007764497471327b33d39ce13c86eb1d8a93ed5f62db96cee6')
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 "$srcdir/LICENCE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}