aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ruby-gitlab-grit
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-27 16:25:01 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-27 16:28:25 +0200
commit27cbae88a0482927a2ae4590021358ce8e45f05d (patch)
tree7f1cd99171de336d52dbec4744b040563c04c4e5 /testing/ruby-gitlab-grit
parent3d2f63ad45bf8c79d8a630db67ccae9411f96e06 (diff)
downloadaports-27cbae88a0482927a2ae4590021358ce8e45f05d.tar.bz2
aports-27cbae88a0482927a2ae4590021358ce8e45f05d.tar.xz
testing/ruby-gitlab-grit: new aport
Grit is a Ruby library for extracting information from a git repository in an object oriented manner http://rubygems.org/gems/gitlab-grit
Diffstat (limited to 'testing/ruby-gitlab-grit')
-rw-r--r--testing/ruby-gitlab-grit/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/ruby-gitlab-grit/APKBUILD b/testing/ruby-gitlab-grit/APKBUILD
new file mode 100644
index 0000000000..65e87567cf
--- /dev/null
+++ b/testing/ruby-gitlab-grit/APKBUILD
@@ -0,0 +1,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"