aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionview/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby-actionview/APKBUILD')
-rw-r--r--main/ruby-actionview/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/ruby-actionview/APKBUILD b/main/ruby-actionview/APKBUILD
new file mode 100644
index 0000000000..058302d62d
--- /dev/null
+++ b/main/ruby-actionview/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=actionview
+pkgname=ruby-$_gemname
+pkgver=4.1.8
+pkgrel=0
+pkgdesc="Simple, battle-tested conventions and helpers for building web pages"
+url=http://rubyonrails.org/
+arch=noarch
+license=MIT
+depends="ruby ruby-activesupport ruby-builder ruby-erubis"
+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="797602a1b32598351dafa2d6578ec653 actionview-4.1.8.gem"
+sha256sums="f3c5da68cce5cb2c221948994b68ba53f12c0adedc826655cf049b2cf00607a9 actionview-4.1.8.gem"
+sha512sums="48db5f18c53ffedfdf98af9597eb31fe07107d2030971f6e875c414049c455c19b1fc49e700a43a95240330985abe832bf0b4f91b9e766b689f67fab4a3a4142 actionview-4.1.8.gem"