diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-12 18:00:01 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-12 18:00:01 +0000 |
commit | 26102159a52d0d30abacf7d2e39f3d093cf56a38 (patch) | |
tree | 3168989b7b191bee9004c03b230bcd2e98c3f4e6 /main/ruby-redmine-sprockets | |
parent | 9caba4818e958e692a5959e4e199992ac8d62c87 (diff) | |
download | aports-26102159a52d0d30abacf7d2e39f3d093cf56a38.tar.bz2 aports-26102159a52d0d30abacf7d2e39f3d093cf56a38.tar.xz |
main/ruby-redmine-sprockets: new aport
Diffstat (limited to 'main/ruby-redmine-sprockets')
-rw-r--r-- | main/ruby-redmine-sprockets/APKBUILD | 38 |
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" |