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-shoulda-context/APKBUILD | |
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-shoulda-context/APKBUILD')
-rw-r--r-- | unmaintained/ruby-shoulda-context/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/ruby-shoulda-context/APKBUILD b/unmaintained/ruby-shoulda-context/APKBUILD new file mode 100644 index 0000000000..abf2baa7cc --- /dev/null +++ b/unmaintained/ruby-shoulda-context/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +_gemname=shoulda-context +pkgname=ruby-shoulda-context +pkgver=1.1.5 +pkgrel=1 +pkgdesc="Context framework extracted from Shoulda" +url="https://github.com/thoughtbot/shoulda" +arch="noarch" +license="MIT" +depends="ruby" +depends_dev="" +makedepends="ruby-dev" +install="" +subpackages="" +source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_gemname-$pkgver +build() { + mkdir -p "$_builddir" || return 1 + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ + --ignore-dependencies \ + --verbose \ + --no-rdoc \ + --no-ri \ + || return 1 + rm -rf "$pkgdir"/$_gemdir/cache \ + "$pkgdir"/$_geminstdir/ext \ + "$pkgdir"/$_geminstdir/.require_paths +} + +package() { + mkdir -p "$pkgdir" || return 1 + cp -ra "$_builddir"/* "$pkgdir"/ || return 1 +} + +md5sums="e16c4038899f3c529f02aa8de0630e36 shoulda-context-1.1.5.gem" +sha256sums="151b7c22773a52fd97f0c565d79a35aefbf730509319b7eae743751c4255c31f shoulda-context-1.1.5.gem" +sha512sums="ad5a8cfe35d6aaac80c720e99245b066a6eafead0dd1caa4553eec26eeb004945eec14e21988d906e020bbcc435df5fab70ed6613a3ed0e3e9dc783aaec02cbd shoulda-context-1.1.5.gem" |