diff options
Diffstat (limited to 'main/ruby-sprockets-rails')
-rw-r--r-- | main/ruby-sprockets-rails/APKBUILD | 35 |
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" |