aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-sprockets-rails
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-sprockets-rails
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-sprockets-rails')
-rw-r--r--main/ruby-sprockets-rails/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/ruby-sprockets-rails/APKBUILD b/main/ruby-sprockets-rails/APKBUILD
new file mode 100644
index 0000000000..0518bddcee
--- /dev/null
+++ b/main/ruby-sprockets-rails/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=sprockets-rails
+pkgname=ruby-$_gemname
+pkgver=2.2.2
+pkgrel=0
+pkgdesc="Sprockets Rails integration"
+url=http://rubygems.org/gems/$_gemname
+arch=noarch
+license=MIT
+depends="ruby ruby-actionpack ruby-activesupport ruby-sprockets"
+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="e5fbb54338866ae4cda92758172da383 sprockets-rails-2.2.2.gem"
+sha256sums="2ba0eddfb651d7b8a5aab1d03b25d9a61333509a589b48e1355fbe40dd264da4 sprockets-rails-2.2.2.gem"
+sha512sums="0ca5fc15b5bfbd373f3f80c2112c9b46fe16c15c0fccc068c484fcf6c39998f59b88470ee534bdf85d924c5aa2f013dd1fb3a2ea2294fd7a72796c1def2c6576 sprockets-rails-2.2.2.gem"