blob: 65e87567cf3c03970e251046c183c321b44fccca (
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-$_gemname
pkgver=2.6.7
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="9c3e91e68453d917abd32542ff927a16 gitlab-grit-2.6.7.gem"
sha256sums="11e82fae9857098ad6925a5f5e3b6092599e3001b5149c1118365b3dae2b5368 gitlab-grit-2.6.7.gem"
sha512sums="4c3537f1c7fd9e41916953d3c4458468ce66181ed931b5947f42b88c656be05338f8bd6a3e9a51e498277e60d9e657bb55fbb129ac4cc76514505759ab42f6dd gitlab-grit-2.6.7.gem"
|