aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-03-18 16:31:36 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-03-18 16:31:36 +0100
commitea6a7e16ad7be1532875bd821e60857f33905d66 (patch)
tree4e4d7b4678911407c1f77cac8742cd95a671f578 /community
parent840ac4ae3b54497f6839ac673b060a055fc5acc8 (diff)
downloadaports-ea6a7e16ad7be1532875bd821e60857f33905d66.tar.bz2
aports-ea6a7e16ad7be1532875bd821e60857f33905d66.tar.xz
redmine: move with deps to community
Diffstat (limited to 'community')
-rw-r--r--community/redmine/APKBUILD111
-rw-r--r--community/redmine/database.yml.patch70
-rw-r--r--community/redmine/gemfile.patch37
-rw-r--r--community/redmine/redmine.post-install29
-rw-r--r--community/redmine/redmine.pre-install7
-rw-r--r--community/ruby-actionmailer4.2/APKBUILD43
-rw-r--r--community/ruby-actionpack-xml_parser4.2/APKBUILD45
-rw-r--r--community/ruby-actionpack4.2/APKBUILD44
-rw-r--r--community/ruby-actionview4.2/APKBUILD40
-rw-r--r--community/ruby-activejob4.2/APKBUILD37
-rw-r--r--community/ruby-activemodel4.2/APKBUILD36
-rw-r--r--community/ruby-activerecord4.2/APKBUILD38
-rw-r--r--community/ruby-activesupport4.2/APKBUILD44
-rw-r--r--community/ruby-coderay/APKBUILD45
-rw-r--r--community/ruby-jquery-rails4.2/APKBUILD38
-rw-r--r--community/ruby-net-ldap/APKBUILD37
-rw-r--r--community/ruby-nokogiri/APKBUILD46
-rw-r--r--community/ruby-rails-html-sanitizer/APKBUILD37
-rw-r--r--community/ruby-rails4.2/APKBUILD48
-rw-r--r--community/ruby-railties4.2/APKBUILD45
-rw-r--r--community/ruby-rbpdf/APKBUILD45
-rw-r--r--community/ruby-redcarpet/APKBUILD47
-rw-r--r--community/ruby-rmagick/APKBUILD37
-rw-r--r--community/ruby-rmagick/rmagick-2.13.2.gembin0 -> 1305088 bytes
24 files changed, 1006 insertions, 0 deletions
diff --git a/community/redmine/APKBUILD b/community/redmine/APKBUILD
new file mode 100644
index 0000000000..541a6c753d
--- /dev/null
+++ b/community/redmine/APKBUILD
@@ -0,0 +1,111 @@
+# Contributor: Markus M. May <triplem@javafreedom.org>
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_railsver=4.2
+pkgname=redmine
+pkgver=3.2.1
+pkgrel=0
+pkgdesc="Project management web application written in Ruby"
+url="http://redmine.org"
+arch="noarch"
+license="GPL2"
+depends="ruby
+ ruby-actionpack-action_caching${_railsver}
+ ruby-actionpack-xml_parser${_railsver}
+ ruby-bigdecimal
+ ruby-coderay
+ ruby-fastercsv
+ ruby-i18n
+ ruby-jquery-rails${_railsver}
+ ruby-json
+ ruby-mocha
+ ruby-net-ldap
+ ruby-openid<2.4
+ ruby-rack
+ ruby-rack-openid
+ ruby-rails${_railsver}
+ ruby-rbpdf
+ ruby-rdoc
+ ruby-redcarpet
+ ruby-request_store
+ ruby-rmagick
+ ruby-protected_attributes${_railsver}
+ ruby-roadie-rails
+ "
+depends_dev=ruby-io-console
+makedepends="$depends_dev"
+install="$pkgname.pre-install $pkgname.post-install"
+subpackages=""
+pkgusers="$pkgname"
+pkggroups="$pkgname www-data"
+source="http://www.redmine.org/releases/redmine-$pkgver.tar.gz
+ gemfile.patch
+ database.yml.patch
+ "
+_webapps="usr/share/webapps"
+
+_builddir="$srcdir"/redmine-$pkgver
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ # verify that all deps are installed
+ if ! bundler check; then
+ bundler list
+ return 1
+ fi
+}
+
+package() {
+ cd "$_builddir"
+ # create dirs
+ mkdir -p "$pkgdir/$_webapps/$pkgname" "$pkgdir"/etc/redmine \
+ || return 1
+ install -o redmine -g www-data -m775 -d \
+ "$pkgdir"/var/lib/redmine "$pkgdir"/var/log/redmine \
+ || return 1
+
+ # move config files
+ for i in database.yml.example configuration.yml.example \
+ additional_environment.rb.example routes.rb; do
+ mv config/${i} "$pkgdir"/etc/redmine/${i%.example} || return 1
+ ln -s /etc/redmine/${i%.example} config/${i%.example} \
+ || return 1
+ done
+
+ # writeable data dirs
+ for i in db files tmp public/plugin_assets; do
+ chown redmine:www-data $i || return 1
+ chmod 775 $i || return 1
+ mv $i "$pkgdir"/var/lib/redmine/ || return 1
+ ln -s /var/lib/redmine/${i#*/} $i || return 1
+ done
+ chown redmine Gemfile.lock || return 1
+
+ # the secret token is generated by post-install
+ ln -s /var/lib/redmine/secret_token.rb config/initializers/
+
+ # log dir
+ rm -r log && ln -s /var/log/redmine log || return 1
+
+ mv * "$pkgdir/$_webapps/$pkgname" || return 1
+}
+
+md5sums="425aa0c56b66bf48c878798a9f7c6546 redmine-3.2.1.tar.gz
+a80146b41b912f248140e616154073f6 gemfile.patch
+d834bef9b5f01484f1e0ee82676f4109 database.yml.patch"
+sha256sums="5e69ad50eef27b581e58ea0d72f2dcb19f38db3626e3bd6ed27b74d5a4da5bd6 redmine-3.2.1.tar.gz
+d9d94fcb696aed05b308114c0b053f878918e3d2dbd12e5ee0b46c041bd18bcd gemfile.patch
+28b1ec099ae87c43d00d7e997edabaece01d6fc2e67b46c50735e9a1bb72f130 database.yml.patch"
+sha512sums="20bc63f82aa58a67c10733338e7aebae3348689531f1f0a6dbedb00301f128ef6a29bd6a33d3075b614e01b23f5311a9739b251fb911298e54d4df06df628bf3 redmine-3.2.1.tar.gz
+9f3be9039f9c576b56d77e3e3f477fe16fdd5d0f8b8b1bb3722cad1aff669f2ee65c308d27ec8c25300b4a3991b65fcf9d4d127abd0542477f1dd8f5af82d7ee gemfile.patch
+1b5880979f050a71d726c844369cc5340a8d4aa0b59b2301e1d32dea28f70ca2a85e619c8b845c37de08772154eef13fa63716c1beaaa50d97b80fd65c297bf9 database.yml.patch"
diff --git a/community/redmine/database.yml.patch b/community/redmine/database.yml.patch
new file mode 100644
index 0000000000..400c4be7b6
--- /dev/null
+++ b/community/redmine/database.yml.patch
@@ -0,0 +1,70 @@
+--- ./config/database.yml.example.orig
++++ ./config/database.yml.example
+@@ -2,32 +2,32 @@
+ # Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end.
+ # Line indentation must be 2 spaces (no tabs).
+
+-production:
+- adapter: mysql2
+- database: redmine
+- host: localhost
+- username: root
+- password: ""
+- encoding: utf8
++#production:
++# adapter: mysql2
++# database: redmine
++# host: localhost
++# username: root
++# password: ""
++# encoding: utf8
++#
++#development:
++# adapter: mysql2
++# database: redmine_development
++# host: localhost
++# username: root
++# password: ""
++# encoding: utf8
+
+-development:
+- adapter: mysql2
+- database: redmine_development
+- host: localhost
+- username: root
+- password: ""
+- encoding: utf8
+-
+ # Warning: The database defined as "test" will be erased and
+ # re-generated from your development database when you run "rake".
+ # Do not set this db to the same as development or production.
+-test:
+- adapter: mysql2
+- database: redmine_test
+- host: localhost
+- username: root
+- password: ""
+- encoding: utf8
++#test:
++# adapter: mysql2
++# database: redmine_test
++# host: localhost
++# username: root
++# password: ""
++# encoding: utf8
+
+ # PostgreSQL configuration example
+ #production:
+@@ -38,9 +38,9 @@
+ # password: "postgres"
+
+ # SQLite3 configuration example
+-#production:
+-# adapter: sqlite3
+-# database: db/redmine.sqlite3
++production:
++ adapter: sqlite3
++ database: /var/lib/redmine/db.sqlite3
+
+ # SQL Server configuration example
+ #production:
diff --git a/community/redmine/gemfile.patch b/community/redmine/gemfile.patch
new file mode 100644
index 0000000000..ed86389c1c
--- /dev/null
+++ b/community/redmine/gemfile.patch
@@ -0,0 +1,37 @@
+
+--- ./Gemfile.orig
++++ ./Gemfile
+@@ -8,7 +8,7 @@
+ gem "jquery-rails", "~> 3.1.3"
+ gem "coderay", "~> 1.1.0"
+ gem "builder", ">= 3.0.4"
+-gem "request_store", "1.0.5"
++gem "request_store", "~>1.0.5"
+ gem "mime-types"
+ gem "protected_attributes"
+ gem "actionpack-action_caching"
+@@ -86,17 +86,17 @@
+
+ group :development do
+ gem "rdoc", ">= 2.4.2"
+- gem "yard"
++# gem "yard"
+ end
+
+ group :test do
+- gem "minitest"
+- gem "rails-dom-testing"
+- gem "mocha"
+- gem "simplecov", "~> 0.9.1", :require => false
++# gem "minitest"
++# gem "rails-dom-testing"
++# gem "mocha"
++# gem "simplecov", "~> 0.9.1", :require => false
+ # For running UI tests
+- gem "capybara"
+- gem "selenium-webdriver"
++# gem "capybara"
++# gem "selenium-webdriver"
+ end
+
+ local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
diff --git a/community/redmine/redmine.post-install b/community/redmine/redmine.post-install
new file mode 100644
index 0000000000..f68632c78e
--- /dev/null
+++ b/community/redmine/redmine.post-install
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+tokenfile=/var/lib/redmine/secret_token.rb
+if [ -e $tokenfile ]; then
+ exit 0
+fi
+
+if [ -e /dev/urandom ] && [ -x /usr/bin/hexdump ]; then
+ token=$(/usr/bin/hexdump -n 32 -v -e '/1 "%02x"' /dev/urandom)
+else
+ token=$(for i in $(seq 0 31); do echo $RANDOM; done | sha1sum | awk '{print $1}')
+fi
+
+umask 027
+cat >$tokenfile<<EOF
+# This file was generated by redmine apk post-install script, and should
+# not be made visible to public.
+# If you have a load-balancing Redmine cluster, you will need to use the
+# same version of this file on each machine. And be sure to restart your
+# server when you modify this file.
+#
+# Your secret key for verifying cookie session data integrity. If you
+# change this key, all old sessions will become invalid! Make sure the
+# secret is at least 30 characters and all random, no regular words or
+# you'll be exposed to dictionary attacks.
+RedmineApp::Application.config.secret_key_base = '$token'
+EOF
+
+chgrp www-data $tokenfile
diff --git a/community/redmine/redmine.pre-install b/community/redmine/redmine.pre-install
new file mode 100644
index 0000000000..780b89f54b
--- /dev/null
+++ b/community/redmine/redmine.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -g 82 -S www-data 2>/dev/null
+adduser -S -H -h /usr/share/webapps/redmine -s /bin/sh -D redmine 2>/dev/null
+addgroup redmine www-data 2>/dev/null
+
+exit 0
diff --git a/community/ruby-actionmailer4.2/APKBUILD b/community/ruby-actionmailer4.2/APKBUILD
new file mode 100644
index 0000000000..5f79b55776
--- /dev/null
+++ b/community/ruby-actionmailer4.2/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ruby-actionmailer4.2
+_gemname=actionmailer
+pkgver=4.2.5.2
+pkgrel=0
+pkgdesc="Email on Rails"
+url="http://rubygems.org/gems/actionmailer"
+arch="noarch"
+license="GPL"
+depends="ruby
+ ruby-actionpack4.2
+ ruby-actionview4.2
+ ruby-activejob4.2
+ ruby-mail
+ ruby-rails-dom-testing4.2
+ "
+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="41381a5b67cec2383e0dabc90eee2cc2 actionmailer-4.2.5.2.gem"
+sha256sums="8cee5f2f1e58c8ada17cca696377443c0cbc9675df2b7eef97a04318876484b5 actionmailer-4.2.5.2.gem"
+sha512sums="854ccc09f24b34055f5c8217dc105afab1d80ae195d42b98ae9a19810b3035cb31b8403d9b87c475dd519705d2ce37525f492eb105af52fe573fa44b3908036a actionmailer-4.2.5.2.gem"
diff --git a/community/ruby-actionpack-xml_parser4.2/APKBUILD b/community/ruby-actionpack-xml_parser4.2/APKBUILD
new file mode 100644
index 0000000000..6637160f77
--- /dev/null
+++ b/community/ruby-actionpack-xml_parser4.2/APKBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=actionpack-xml_parser
+pkgname=ruby-${_gemname}4.2
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="XML parameters parser for Action Pack"
+url="http://www.rubyonrails.org/"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-actionpack4.2"
+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
+
+ cd "$pkgdir"
+ for i in usr/lib/ruby/gems/*/bin/*; do
+ if [ -e "$i" ]; then
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /$i "$pkgdir"/usr/bin/
+ fi
+ done
+}
+
+md5sums="2c3f9c8644f8fcf70d9b9ef3fa8beb6e actionpack-xml_parser-1.0.2.gem"
+sha256sums="6a3e2441711e3885d2fb6f6530049bb4672cf6ffb98c88dce9e8997e9a25559d actionpack-xml_parser-1.0.2.gem"
+sha512sums="38539e43a414a2fdb9786f7830b47ee22786f13688ba11fcbd585f41ed472f1bbcc521c35bf87c7c59ad8a5ba3663ebbaa21bf7c0a2a94a1ac77e6b3fc1c0f3f actionpack-xml_parser-1.0.2.gem"
diff --git a/community/ruby-actionpack4.2/APKBUILD b/community/ruby-actionpack4.2/APKBUILD
new file mode 100644
index 0000000000..9e87fef4d0
--- /dev/null
+++ b/community/ruby-actionpack4.2/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ruby-actionpack4.2
+_gemname=actionpack
+pkgver=4.2.5.2
+pkgrel=0
+pkgdesc="Eases web-request routing, handling, and response as a half-way front, half-way page controller"
+url="http://rubygems.org/gems/actionpack"
+arch="noarch"
+license="GPL"
+depends="ruby
+ ruby-actionview4.2
+ ruby-activesupport4.2
+ ruby-rack
+ ruby-rack-test
+ ruby-rails-dom-testing4.2
+ ruby-rails-html-sanitizer
+ "
+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="d41e94eae729ba30cacaea2df3ee4654 actionpack-4.2.5.2.gem"
+sha256sums="a22e1818f06b707433c9a76867932929751b5d57edbeacc258635a7b23da12cf actionpack-4.2.5.2.gem"
+sha512sums="8303a7e225aa83dd7b6e731bffe78d588fbc919f437b604d9cde20a6200443676bb827fa970fe432f0c97034e15324afccecd38c2a40b63a4cf43f02382d6f31 actionpack-4.2.5.2.gem"
diff --git a/community/ruby-actionview4.2/APKBUILD b/community/ruby-actionview4.2/APKBUILD
new file mode 100644
index 0000000000..ea17194089
--- /dev/null
+++ b/community/ruby-actionview4.2/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=actionview
+pkgname=ruby-${_gemname}4.2
+pkgver=4.2.5.2
+pkgrel=0
+pkgdesc="Simple, battle-tested conventions and helpers for building web pages"
+url=http://rubyonrails.org/
+arch=noarch
+license=MIT
+depends="ruby
+ ruby-activesupport4.2
+ ruby-builder
+ ruby-erubis
+ ruby-rails-dom-testing4.2
+ ruby-rails-html-sanitizer
+ "
+makedepends=ruby
+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="2fc9c05b729d37cd5d0fe0d0177f7454 actionview-4.2.5.2.gem"
+sha256sums="e8ce01cf6cc822ec023a15a856a0fae0e078ebb232b95b722c23af4117d2d635 actionview-4.2.5.2.gem"
+sha512sums="b3d6b943adc0b037f80a34f9753ec2f9439c16089557f75889a64a6fe1152e9e8d81672dc86f1ceb15d8fb93d10bb13770ac0f7180262386ace25a7e7c1feec2 actionview-4.2.5.2.gem"
diff --git a/community/ruby-activejob4.2/APKBUILD b/community/ruby-activejob4.2/APKBUILD
new file mode 100644
index 0000000000..94e96f3f14
--- /dev/null
+++ b/community/ruby-activejob4.2/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=activejob
+pkgname=ruby-${_gemname}4.2
+pkgver=4.2.5.2
+pkgrel=0
+pkgdesc="Declare job classes that can be run by a variety of queueing backends"
+url=http://rubyonrails.org/
+arch=noarch
+license=MIT
+depends="ruby ruby-activesupport4.2 ruby-globalid"
+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="704453dc45213c5448e2cb3726d8b8f9 activejob-4.2.5.2.gem"
+sha256sums="cecb9bbc55292dee064ca479990c6e50fa3e2273aac6722ce058d18c22383026 activejob-4.2.5.2.gem"
+sha512sums="5aee66c9230d830ee8881be2bfcca618b4e0b2265b2c1873321941af93ec26da3facb4d08dce8f271caf32d5b14a771ebfe4091781d903610e25231ca4671765 activejob-4.2.5.2.gem"
diff --git a/community/ruby-activemodel4.2/APKBUILD b/community/ruby-activemodel4.2/APKBUILD
new file mode 100644
index 0000000000..1154dd991e
--- /dev/null
+++ b/community/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"
diff --git a/community/ruby-activerecord4.2/APKBUILD b/community/ruby-activerecord4.2/APKBUILD
new file mode 100644
index 0000000000..3c14c579e9
--- /dev/null
+++ b/community/ruby-activerecord4.2/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=activerecord
+pkgname=ruby-${_gemname}4.2
+pkgver=4.2.5.2
+pkgrel=0
+pkgdesc="Ruby ActiveRecord pattern (Fowler, PoEAA) for ORM"
+url="http://rubygems.org/gems/activerecord"
+arch="noarch"
+license="GPL"
+depends="ruby ruby-activemodel4.2 ruby-activesupport4.2
+ ruby-arel"
+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="9cd2338b06000ab0d59e0a83ee6951b3 activerecord-4.2.5.2.gem"
+sha256sums="c2b1b6a4c6b8542c2464b457dce4cac4915efcbd3d5acfba57102e58474c33f2 activerecord-4.2.5.2.gem"
+sha512sums="841271e01b6472e6ba0881b7fd51863fcd028255cf88b606ad9f726af5947b71286a5087718618c31c81c8a28aa443bfe69584ac50b6b397638dc0639ce8666e activerecord-4.2.5.2.gem"
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"
diff --git a/community/ruby-coderay/APKBUILD b/community/ruby-coderay/APKBUILD
new file mode 100644
index 0000000000..a996f92604
--- /dev/null
+++ b/community/ruby-coderay/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=coderay
+pkgname=ruby-coderay
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="Fast and easy syntax highlighting"
+url="http://coderay.rubychan.de"
+arch="noarch"
+license="MIT"
+depends="ruby"
+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
+
+ cd "$pkgdir"
+ for i in usr/lib/ruby/gems/*/bin/*; do
+ if [ -e "$i" ]; then
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /$i "$pkgdir"/usr/bin/
+ fi
+ done
+}
+
+md5sums="6f60cedad4f128b38bd8eaf40490f328 coderay-1.1.1.gem"
+sha256sums="79a42eba4cbe2b056ba253eb02d1a7aec74ca951e54f33098830641e8748dff4 coderay-1.1.1.gem"
+sha512sums="7b2bbf51e6625a252f7eb6de6d3a5b2d401a3bcbd5ed3074a8a34e468bcbd4400f54906dd9ce0c7afcd2dd56b0bb28a597d2e01c614d19388f1576385bf4e97f coderay-1.1.1.gem"
diff --git a/community/ruby-jquery-rails4.2/APKBUILD b/community/ruby-jquery-rails4.2/APKBUILD
new file mode 100644
index 0000000000..85197568b4
--- /dev/null
+++ b/community/ruby-jquery-rails4.2/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Markus M. May <triplem@javafreedom.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=jquery-rails
+pkgname=ruby-${_gemname}4.2
+pkgver=3.1.4
+pkgrel=0
+pkgdesc="jQuery and the jQuery-ujs driver for Rails 4.2"
+url="http://rubygems.org/gems/jquery-rails"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-railties4.2 ruby-thor"
+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="5ffd8dcced7e70e82bc34985e6395f90 jquery-rails-3.1.4.gem"
+sha256sums="f908f67bb9b63dbc88eeecc78257235dbc695e23926fd53911378a27b4d6b532 jquery-rails-3.1.4.gem"
+sha512sums="fbec0e09bff90d4f21a512c628767ceaf85f311ac8bd81ca58a7b41f71c0a6b25d9ab9246c4043abf71f7afaf217d51a796f2207c2321583ddd14845248c9f1a jquery-rails-3.1.4.gem"
diff --git a/community/ruby-net-ldap/APKBUILD b/community/ruby-net-ldap/APKBUILD
new file mode 100644
index 0000000000..a33644ad52
--- /dev/null
+++ b/community/ruby-net-ldap/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=net-ldap
+pkgname=ruby-net-ldap
+pkgver=0.12.1
+pkgrel=0
+pkgdesc="Ruby ldap client"
+url="http://rubyldap.com/"
+arch="noarch"
+license="MIT"
+depends="ruby"
+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="3e15c0180861ed9b9567f5ac919d4bf8 net-ldap-0.12.1.gem"
+sha256sums="864ce59bc51ab5a83a344a477a07def3b9691dd8a2b11f52dca3af45e707327c net-ldap-0.12.1.gem"
+sha512sums="013a66a0fa7e6027c5f31776d136294161936ae7dc2ec86a5342a2a2d575e5764ab06e11a7532c56e5c4ce95ab91a2ab4cc8628e6f1fcc879b9282c08142c31a net-ldap-0.12.1.gem"
diff --git a/community/ruby-nokogiri/APKBUILD b/community/ruby-nokogiri/APKBUILD
new file mode 100644
index 0000000000..19b67d9416
--- /dev/null
+++ b/community/ruby-nokogiri/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+_gemname=nokogiri
+pkgname=ruby-$_gemname
+pkgver=1.6.7.2
+pkgrel=0
+pkgdesc="An HTML, XML, SAX, and Reader parser"
+url="http://nokogiri.org/"
+arch="all"
+license="MIT"
+depends="ruby ruby-mini_portile2"
+depends_dev=""
+makedepends="ruby-dev libxml2-dev libxslt-dev"
+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 -- --use-system-libraries || \
+ return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+
+ cd "$pkgdir"
+ for i in usr/lib/ruby/gems/*/bin/*; do
+ if [ -e "$i" ]; then
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /$i "$pkgdir"/usr/bin/
+ fi
+ done
+}
+
+md5sums="3e2169ebd67863a8a992289e2a887366 nokogiri-1.6.7.2.gem"
+sha256sums="fb6afc0faec72b82eeccc84b5d11211aa6c4a81898a433b499ca7a60fcad4b87 nokogiri-1.6.7.2.gem"
+sha512sums="27f72763f4f572b9a7042b48bd3a7a7516773eda128be603b8316e8ecaef42028f3d3a190947011cc6973fa4a43265a56f4b563bf28a8b2739b470cc19cee6cd nokogiri-1.6.7.2.gem"
diff --git a/community/ruby-rails-html-sanitizer/APKBUILD b/community/ruby-rails-html-sanitizer/APKBUILD
new file mode 100644
index 0000000000..42ea34c06f
--- /dev/null
+++ b/community/ruby-rails-html-sanitizer/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=rails-html-sanitizer
+pkgname=ruby-$_gemname
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="HTML sanitization for Rails applications"
+url=http://rubyonrails.org/
+arch=noarch
+license=MIT
+depends="ruby ruby-loofah"
+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="d13c644238baf23fb79d39c820c51a11 rails-html-sanitizer-1.0.3.gem"
+sha256sums="a7da8eb4ce2e673ba909d36a94a9e06f196e88a92e76d01dfee3803d0d6a0e8d rails-html-sanitizer-1.0.3.gem"
+sha512sums="84d91014384773389492d7cde0afcdc7e3324320970788d88861f89395d847d2599d1e645177f5301109194805ffb684f591e287f3e4280117738416655d934a rails-html-sanitizer-1.0.3.gem"
diff --git a/community/ruby-rails4.2/APKBUILD b/community/ruby-rails4.2/APKBUILD
new file mode 100644
index 0000000000..965d3c1002
--- /dev/null
+++ b/community/ruby-rails4.2/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=rails
+pkgname=ruby-rails4.2
+pkgver=4.2.5.2
+pkgrel=0
+pkgdesc="Ruby full-stack web framework"
+url="http://rubyonrails.org/"
+arch="noarch"
+license="MIT"
+depends="ruby
+ ruby-actionmailer4.2
+ ruby-actionpack4.2
+ ruby-actionview4.2
+ ruby-activejob4.2
+ ruby-activemodel4.2
+ ruby-activerecord4.2
+ ruby-activesupport4.2
+ ruby-bundler
+ ruby-railties4.2
+ ruby-sprockets-rails4.2
+ "
+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="e5078bbbf4e3d94bf41cee70ef5b4d77 rails-4.2.5.2.gem"
+sha256sums="aa93c1b9eb8b535eee58280504e30237f88217699fe9bb016e458e5122eefa2e rails-4.2.5.2.gem"
+sha512sums="6bb4b992e44bad01976ecf89c66060fcbef9a20de53da3450b8f9c3e0f8deebb9baf8255ba7f9588391905a9fd972fbb268a5c655489ad266fc13dcaf3417fb8 rails-4.2.5.2.gem"
diff --git a/community/ruby-railties4.2/APKBUILD b/community/ruby-railties4.2/APKBUILD
new file mode 100644
index 0000000000..f6c7ce19d3
--- /dev/null
+++ b/community/ruby-railties4.2/APKBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=railties
+pkgname=ruby-${_gemname}4.2
+pkgver=4.2.5.2
+pkgrel=0
+pkgdesc="Rails internals: application bootup, plugins, generators, and rake tasks"
+url="http://www.rubyonrails.org/"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-actionpack4.2 ruby-activesupport4.2
+ ruby-rake ruby-thor"
+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
+
+ cd "$pkgdir"
+ for i in usr/lib/ruby/gems/*/bin/*; do
+ if [ -e "$i" ]; then
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /$i "$pkgdir"/usr/bin/
+ fi
+ done
+}
+
+md5sums="e89156f674088447f22261b3872899a8 railties-4.2.5.2.gem"
+sha256sums="cfff64cbc0e409341003c35fa2e576e6a8cd8259a9894d09f15c6123be73f146 railties-4.2.5.2.gem"
+sha512sums="5857debf0518e7f39d4c55bafa207c36106797b1408ac6cb91c7593bd4dc0e4820ec8c4595e2cab56a910d001abf8d455e78d6f9a07b595454a3fde4c536520b railties-4.2.5.2.gem"
diff --git a/community/ruby-rbpdf/APKBUILD b/community/ruby-rbpdf/APKBUILD
new file mode 100644
index 0000000000..94398304f2
--- /dev/null
+++ b/community/ruby-rbpdf/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Markus M. May <triplem@javafreedom.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=rbpdf
+pkgname=ruby-$_gemname
+pkgver=1.19.0
+pkgrel=0
+pkgdesc="A template plugin allowing the inclusion of ERB-enabled RBPDF template files"
+url="https://rubygems.org/gems/rbpd"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-rbpdf-font ruby-htmlentities"
+depends_dev=
+makedepends="$depends_dev"
+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
+
+ cd "$pkgdir"
+ for i in usr/lib/ruby/gems/*/bin/*; do
+ if [ -e "$i" ]; then
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /$i "$pkgdir"/usr/bin/
+ fi
+ done
+}
+
+md5sums="2a04684fa0f26950418c670533b2241d rbpdf-1.19.0.gem"
+sha256sums="6fb408bda05c81f27af4a73abd13a20de8b485a6b2752502645cf3d2cb9eb89c rbpdf-1.19.0.gem"
+sha512sums="7c83334bd0069e3a5ebaa8d7037bb7eca0652df6a72afed0d1fb594fa2359830801ae59162df69ee1766bdbf39fe9b0e960d3b8d7a1eb6a7a63cf5b27dfb9dae rbpdf-1.19.0.gem"
diff --git a/community/ruby-redcarpet/APKBUILD b/community/ruby-redcarpet/APKBUILD
new file mode 100644
index 0000000000..93c77b79a9
--- /dev/null
+++ b/community/ruby-redcarpet/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Markus M. May <triplem@javafreedom.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=redcarpet
+pkgname=ruby-$_gemname
+# redmine 3.0.5 needs ~> 3.3.2
+pkgver=3.3.4
+pkgrel=0
+pkgdesc="A fast, safe and extensible Markdown to (X)HTML parser"
+url="http://github.com/vmg/redcarpet"
+arch="all"
+license="MIT"
+depends="ruby"
+depends_dev=
+makedepends="$depends_dev ruby-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
+
+ cd "$pkgdir"
+ for i in usr/lib/ruby/gems/*/bin/*; do
+ if [ -e "$i" ]; then
+ mkdir -p "$pkgdir"/usr/bin
+ ln -s /$i "$pkgdir"/usr/bin/
+ fi
+ done
+}
+
+md5sums="ac276e95369ff2647a1e3caf6ffda8c6 redcarpet-3.3.4.gem"
+sha256sums="6fbf59f8fa23f84497cfb9bd1601ec35fa32f400d9034bf861c15dbbc02d6813 redcarpet-3.3.4.gem"
+sha512sums="8ef78c351d319b193167a5dc7b45fa39c81b02fe5c0d0102cbbeea2af85ed0b3e7a00b16a58596996739c2538ba3d95bc3e85d6614d85fb845c34891b4c407c2 redcarpet-3.3.4.gem"
diff --git a/community/ruby-rmagick/APKBUILD b/community/ruby-rmagick/APKBUILD
new file mode 100644
index 0000000000..a8d527a51a
--- /dev/null
+++ b/community/ruby-rmagick/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ruby-rmagick
+_gemname=rmagick
+pkgver=2.15.4
+pkgrel=0
+pkgdesc="Ruby ImageMagick interface"
+url="http://rmagick.rubyforge.org"
+arch="all"
+license="custom"
+depends="ruby ghostscript-fonts"
+depends_dev="ruby-dev imagemagick-dev freetype-dev libjpeg-turbo-dev zlib-dev"
+makedepends="$depends_dev"
+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="ca28bf18354103aada43bbe070c3df4d rmagick-2.15.4.gem"
+sha256sums="69db6635c2630ffd63c1858646cbc280226f31a7bc34e1c9d1322c2c73e1e386 rmagick-2.15.4.gem"
+sha512sums="9cb43632e510e3592e3a643117d61020d6cbec932acecc19c1e977cca001ccc04bae46669895fa2f5f0e8d43c09f1c2c429595a9358a4a74cbdbb4ecd8957b80 rmagick-2.15.4.gem"
diff --git a/community/ruby-rmagick/rmagick-2.13.2.gem b/community/ruby-rmagick/rmagick-2.13.2.gem
new file mode 100644
index 0000000000..b208397a25
--- /dev/null
+++ b/community/ruby-rmagick/rmagick-2.13.2.gem
Binary files differ