From 26102159a52d0d30abacf7d2e39f3d093cf56a38 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Thu, 12 Sep 2013 18:00:01 +0000 Subject: main/ruby-redmine-sprockets: new aport --- main/ruby-redmine-sprockets/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 main/ruby-redmine-sprockets/APKBUILD (limited to 'main/ruby-redmine-sprockets') 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 +_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" -- cgit v1.2.3