aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-redmine-sprockets
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby-redmine-sprockets')
-rw-r--r--main/ruby-redmine-sprockets/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/ruby-redmine-sprockets/APKBUILD b/main/ruby-redmine-sprockets/APKBUILD
new file mode 100644
index 0000000000..536f30568a
--- /dev/null
+++ b/main/ruby-redmine-sprockets/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=sprockets
+pkgname=ruby-redmine-$_gemname
+pkgver=2.2.2.b2
+_realver=2.2.2.backport2
+pkgrel=0
+pkgdesc="Rack-based asset packaging system"
+url="http://rubygems.org/gems/rack-test"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-hike ruby-multi_json ruby-rack ruby-tilt"
+depends_dev=
+makedepends="$depends_dev ruby-gems"
+install=""
+subpackages=""
+source="http://gems.rubyforge.org/gems/$_gemname-$_realver.gem"
+
+_builddir="$srcdir"/$_realname-$_realver
+build() {
+ return 0
+}
+
+package() {
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _geminstdir=$_gemdir/gems/$_gemname-$_realver
+ mkdir -p "$pkgdir" || return 1
+
+ gem install --local --install-dir "$pkgdir"/$_gemdir \
+ --ignore-dependencies --verbose --no-rdoc --no-ri \
+ "$srcdir"/$_gemname-$_realver.gem || return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+md5sums="5235dbd84324ffd73139df26b65bbfe7 sprockets-2.2.2.backport2.gem"
+sha256sums="8b2c22a65c3838e698307e2e1013297823e662bbe7af45c3ab17fda861c111f8 sprockets-2.2.2.backport2.gem"
+sha512sums="b596e9a29dd9dd206ceb47d3579a18ec17d0495bd928d2d49207a12eb9433a0d66536fa290d5f25fd1e1aced58d6affede306fc79f083b3962c1193b84f8e8ef sprockets-2.2.2.backport2.gem"