aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-sprockets-rails4.2/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-29 08:04:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-29 12:36:41 +0000
commitb951abfe754edd478b0a17f12cad5fb56e42eee1 (patch)
treee71d1359aad8863964935b6d374f6e97b715dbde /unmaintained/ruby-sprockets-rails4.2/APKBUILD
parent966bc7207f72795a226a704782b524c2b2fbefb3 (diff)
downloadaports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.bz2
aports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.xz
move main/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-sprockets-rails4.2/APKBUILD')
-rw-r--r--unmaintained/ruby-sprockets-rails4.2/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/unmaintained/ruby-sprockets-rails4.2/APKBUILD b/unmaintained/ruby-sprockets-rails4.2/APKBUILD
new file mode 100644
index 0000000000..5aa15ab9f9
--- /dev/null
+++ b/unmaintained/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.3.2
+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="28010c218429ec0fd4f246be530496c3 sprockets-rails-2.3.2.gem"
+sha256sums="cd3c2f55e7f1b3f95ef8b7bac05d7c38c8bcddc8acd03b67132fc7ce925162de sprockets-rails-2.3.2.gem"
+sha512sums="3cc6f1f8f74795b23427b617ca455942e2ed781de2c2026489412357e22bd1c96d5ead1e8877d2c8579f32418511aa77ac91a58ed32997f910f8b6cf37e11f24 sprockets-rails-2.3.2.gem"