mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 02:11:16 +02:00
Grit is a Ruby library for extracting information from a git repository in an object oriented manner http://rubygems.org/gems/gitlab-grit
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# 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"
|