blob: 0f8978e4cb91f64874cf6826788fc54ee90de855 (
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
|
# Contributor: Seung Soo Mun <hamletmun@gmail.com>
# Maintainer:
_gemname=gitlab-grit
pkgname=ruby-gollum_rails-$_gemname
pkgver=2.6.0
pkgrel=0
pkgdesc="Grit is a Ruby library for extracting information from a git repository in an object oriented manner"
url="http://rubygems.org/gems/$_gemname"
arch="noarch"
license="MIT"
depends="ruby ruby-charlock_holmes ruby-diff-lcs ruby-mime-types ruby-posix-spawn"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
_builddir="$srcdir"/$_realname-$pkgver
build() {
return 0
}
package() {
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
local _geminstdir=$_gemdir/gems/$_gemname-$pkgver
mkdir -p "$pkgdir" || return 1
gem install --local --install-dir "$pkgdir"/$_gemdir \
--ignore-dependencies --verbose --no-rdoc --no-ri \
"$srcdir"/$_gemname-$pkgver.gem || return 1
rm -rf "$pkgdir"/$_gemdir/cache \
"$pkgdir"/$_geminstdir/ext \
"$pkgdir"/$_geminstdir/.require_paths
}
md5sums="531f5950596e6a16e33c850e6c3f82f0 gitlab-grit-2.6.0.gem"
sha256sums="b2900956c11e46c76f4b6dee9f04180be69e3090fde626e29e4f0f466ce09257 gitlab-grit-2.6.0.gem"
sha512sums="a64cf385167d4c8e38ef3c4e2f280d42fb08b48fde0c265ea012e8c88c922b128841c86cd6eb025a2c917f95819efa7f252d2390548676738d38364f5cab67c4 gitlab-grit-2.6.0.gem"
|