aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-sprockets-rails4.2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby-sprockets-rails4.2/APKBUILD')
-rw-r--r--main/ruby-sprockets-rails4.2/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/ruby-sprockets-rails4.2/APKBUILD b/main/ruby-sprockets-rails4.2/APKBUILD
new file mode 100644
index 0000000000..d121c80772
--- /dev/null
+++ b/main/ruby-sprockets-rails4.2/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=sprockets-rails
+pkgname=ruby-${_gemname}4.2
+pkgver=2.2.4
+pkgrel=0
+pkgdesc="Sprockets Rails integration"
+url=http://rubygems.org/gems/$_gemname
+arch=noarch
+license=MIT
+depends="ruby ruby-actionpack4.2 ruby-activesupport4.2
+ 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="8a49edf5f6f29a3066291e137f2df1b6 sprockets-rails-2.2.4.gem"
+sha256sums="ec11878bd0f07aba4063eca24ec3327b9e1fff04f24b66f37e4e6386c66b4c9c sprockets-rails-2.2.4.gem"
+sha512sums="c7a7c701ebaa4f88d189e1385a2f1872c6b08e2175030e54f9366770f70d558e914918a1dcdc032c47eaa225b0c16747be7c88a4b3fa5f33dd17bc625f645bfd sprockets-rails-2.2.4.gem"