blob: 31b967c7f7c0d9efee44d8de3cc3af68d7f6b886 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: mnussbaum <michaelnussbaum08@gmail.com>
_gemname=solargraph
pkgname=ruby-solargraph
pkgver=0.50.0
pkgrel=1
pkgdesc="A Ruby language server"
arch=("any")
depends=(
ruby
ruby-backport
ruby-benchmark
ruby-bundler
ruby-diff-lcs
ruby-e2mmap
ruby-jaro_winkler
ruby-kramdown
ruby-kramdown-parser-gfm
ruby-parser
ruby-rbs
ruby-reverse_markdown
ruby-rubocop
ruby-thor
ruby-tilt
ruby-yard
)
makedepends=(rubygems)
url="http://solargraph.org/"
noextract=($_gemname-$pkgver.gem)
license=("MIT")
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
sha256sums=("278d0f7de7181376a64d54a55b5df1a22ce8aa1d0e6a103ff76bf34cb37e7261")
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"
}
|