diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:06:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | f58e361776f7398d806321ea9d63f59f5fc38b5d (patch) | |
tree | eea648afb288a35c5b1e2bffb3d3b4442578b08b /unmaintained/ruby-activemodel4.2 | |
parent | b951abfe754edd478b0a17f12cad5fb56e42eee1 (diff) | |
download | aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.bz2 aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.xz |
move community/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-activemodel4.2')
-rw-r--r-- | unmaintained/ruby-activemodel4.2/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/unmaintained/ruby-activemodel4.2/APKBUILD b/unmaintained/ruby-activemodel4.2/APKBUILD new file mode 100644 index 0000000000..1154dd991e --- /dev/null +++ b/unmaintained/ruby-activemodel4.2/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=ruby-activemodel4.2 +_gemname=activemodel +pkgver=4.2.5.2 +pkgrel=0 +pkgdesc="A toolkit for building modeling frameworks" +url="http://rubygems.org/gems/activemodel" +arch="noarch" +license="GPL" +depends="ruby ruby-activesupport4.2 ruby-builder" +depends_dev= +makedepends="$depends_dev ruby" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +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="043161de06a47b0b9db2f52625692b36 activemodel-4.2.5.2.gem" +sha256sums="09ce967be3086b34ae9fcbd919e714b2bdf72b8ab6e89b64aa74627267d93962 activemodel-4.2.5.2.gem" +sha512sums="24767707fd56226c8b4caa0154b10c39fd7442aeab5e5b3ee8968abc1f8dbb436ac0f1d23547a64dfa96229aa65c2420aabeb0b7a3368589488b9bb491e88c84 activemodel-4.2.5.2.gem" |