diff --git a/srcpkgs/ruby-websocket/template b/srcpkgs/ruby-websocket/template new file mode 100644 index 00000000000..834f3619ab2 --- /dev/null +++ b/srcpkgs/ruby-websocket/template @@ -0,0 +1,16 @@ +# Template file for 'ruby-websocket' +pkgname=ruby-websocket +version=1.2.8 +revision=1 +noarch=yes +build_style=gem +short_desc="Universal Ruby library to handle WebSocket protocol" +maintainer="maxice8 " +license="MIT" +homepage="https://github.com/imanel/websocket-ruby" +checksum=1d8155c1cdaab8e8e72587a60e08423c9dd84ee44e4e827358ce3d4c2ccb2138 + +post_install() { + sed -n '125,131p' README.md > LICENSE + vlicense LICENSE +}