aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-rails-deprecated_sanitizer4.2/APKBUILD
blob: de5b4795dd087b14c51983344d45a8baae7408ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=rails-deprecated_sanitizer
pkgname=ruby-${_gemname}4.2
pkgver=1.0.3
pkgrel=1
pkgdesc="Deprecated sanitizer API extracted from Action View"
url=http://rubyonrails.org/
arch=noarch
license=MIT
depends="ruby ruby-activesupport4.2"
depends_dev=
makedepends="$depends_dev ruby"
install=""
subpackages=""
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="c11a2be49ab18f4ca9734cbea5738506  rails-deprecated_sanitizer-1.0.3.gem"
sha256sums="722d589fc83dea0ea49e816440bacc554383dc9a05c8aee5429cf7f621abbe63  rails-deprecated_sanitizer-1.0.3.gem"
sha512sums="017ea5aac0ce1fe41e51e4e957c3ce0c4c44b92e50c81740529a86d915483b8755253138d918c556383ecf0469ac83a7d30aaf8947e4768be33c3695ef4afaf1  rails-deprecated_sanitizer-1.0.3.gem"