aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-activesupport4.2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ruby-activesupport4.2/APKBUILD')
-rw-r--r--community/ruby-activesupport4.2/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community/ruby-activesupport4.2/APKBUILD b/community/ruby-activesupport4.2/APKBUILD
new file mode 100644
index 0000000000..b3bebbd0f4
--- /dev/null
+++ b/community/ruby-activesupport4.2/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ruby-activesupport4.2
+_gemname=activesupport
+pkgver=4.2.5.2
+pkgrel=0
+pkgdesc="Utility classes and extension to the standard library"
+url="http://rubygems.org/gems/activesupport"
+arch="noarch"
+license="GPL"
+depends="ruby
+ ruby-i18n
+ ruby-json
+ ruby-minitest
+ ruby-thread_safe
+ ruby-tzinfo
+ "
+depends_dev=
+makedepends="$depends_dev ruby"
+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="51d5ed55a73fcf0e4484b8cfea2f57b5 activesupport-4.2.5.2.gem"
+sha256sums="80ad345adf7e2b72c5d90753c0df91eacc34f4de02b34cfbf60bcf6c83483031 activesupport-4.2.5.2.gem"
+sha512sums="d1255e4d611f5162795c65ce39dc2b4925182f5f9148ee0bf1a7e6ed465cb4a531854c651122397e13d27d8a8c27c8887f6d3f5c6f2f81a4e1e334866f2773c4 activesupport-4.2.5.2.gem"