aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionview4.2/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-25 15:53:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-26 14:21:42 +0000
commitf1c7bd64be4db6f76c85df4d7c7409e9a49d473c (patch)
treea3d28a7451f1315b512cafe3ccfd062b9d1115c1 /main/ruby-actionview4.2/APKBUILD
parent39ba9fb86348646a7a200178f36d009f9a44fe45 (diff)
downloadaports-f1c7bd64be4db6f76c85df4d7c7409e9a49d473c.tar.bz2
aports-f1c7bd64be4db6f76c85df4d7c7409e9a49d473c.tar.xz
main/ruby-actionview4.2: rename and upgrade to 4.2.1
Diffstat (limited to 'main/ruby-actionview4.2/APKBUILD')
-rw-r--r--main/ruby-actionview4.2/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/ruby-actionview4.2/APKBUILD b/main/ruby-actionview4.2/APKBUILD
new file mode 100644
index 0000000000..92a86677d8
--- /dev/null
+++ b/main/ruby-actionview4.2/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=actionview
+pkgname=ruby-${_gemname}4.2
+pkgver=4.2.1
+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
+
+_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="8f41e6d21de92ffc1af7d7e2873c3057 actionview-4.2.1.gem"
+sha256sums="cf7dbb0b5d7a9ccb9be1870be97e5ec319e3ee0f5dc766e62c20fafe92c02bd5 actionview-4.2.1.gem"
+sha512sums="ed630e281e3192c02f0be0de4be892869223859762eede9daa4e9d9e16e642b4fd02358a7d96f34b04ccb560166256e3154a580c795d33e78869e84392a07e39 actionview-4.2.1.gem"