aboutsummaryrefslogblamecommitdiffstats
path: root/main/ruby-redmine-sprockets/APKBUILD
blob: b80336c00eb9695ca3b835aec01dc0e159439869 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                   
        



                                           
                                                                    
            
                               
























                                                                                                                                                                            
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=sprockets
pkgname=ruby-redmine-$_gemname
pkgver=2.2.2.b2
_realver=2.2.2.backport2 
pkgrel=2
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-redmine-rack ruby-tilt"
depends_dev=
makedepends="$depends_dev ruby"
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"