diff options
-rw-r--r-- | testing/ruby-gollum_rails-gitlab-grit/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/ruby-gollum_rails-gitlab-grit/APKBUILD b/testing/ruby-gollum_rails-gitlab-grit/APKBUILD new file mode 100644 index 0000000000..0f8978e4cb --- /dev/null +++ b/testing/ruby-gollum_rails-gitlab-grit/APKBUILD @@ -0,0 +1,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" |