aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-activemodel4.2
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/ruby-activemodel4.2
parent840ac4ae3b54497f6839ac673b060a055fc5acc8 (diff)
downloadaports-ea6a7e16ad7be1532875bd821e60857f33905d66.tar.bz2
aports-ea6a7e16ad7be1532875bd821e60857f33905d66.tar.xz
redmine: move with deps to community
Diffstat (limited to 'community/ruby-activemodel4.2')
-rw-r--r--community/ruby-activemodel4.2/APKBUILD36
1 files changed, 36 insertions, 0 deletions
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"