diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:11:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | 80acbaee801184140fac0c967cbb8aa051db2b06 (patch) | |
tree | 77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-gitlab-grit | |
parent | 5db5ee5c13e577e862e822501b2e4863fbd63195 (diff) | |
download | aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.bz2 aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.xz |
move testing/ruby-* to unmaintained
ruby-mime-types and ruby-nokogiri was there already so remove those
Diffstat (limited to 'unmaintained/ruby-gitlab-grit')
-rw-r--r-- | unmaintained/ruby-gitlab-grit/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-gitlab-grit/APKBUILD b/unmaintained/ruby-gitlab-grit/APKBUILD new file mode 100644 index 0000000000..65e87567cf --- /dev/null +++ b/unmaintained/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" |