aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionview/APKBUILD
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-05 12:39:32 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-05 12:40:23 +0200
commit82fa7ab6f5bbc2012c92d0ada2785c13519f5525 (patch)
treebe0f59ea488b24d7a31bb73da7eb992508bb73ce /main/ruby-actionview/APKBUILD
parent61e53274600c0ab7fc52b6e1cd6b5367fec2e5d4 (diff)
downloadaports-82fa7ab6f5bbc2012c92d0ada2785c13519f5525.tar.bz2
aports-82fa7ab6f5bbc2012c92d0ada2785c13519f5525.tar.xz
main/ruby*: fix dependencies and update to latest possible versions
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"