aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-rails-deprecated_sanitizer4.2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-25 15:45:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-26 14:21:42 +0000
commit9a2948489b145e34c897e4cd64e591123ff56e3f (patch)
treef19d88c58e369d7e13a7be6fff8d3a530cc5013d /main/ruby-rails-deprecated_sanitizer4.2
parentcede5f4ad3e4e6e5855192d33156a25725aa0f92 (diff)
downloadaports-9a2948489b145e34c897e4cd64e591123ff56e3f.tar.bz2
aports-9a2948489b145e34c897e4cd64e591123ff56e3f.tar.xz
main/ruby-rails-deprecated_sanitizer4.2: rename and rebuild against ruby 2.2
Diffstat (limited to 'main/ruby-rails-deprecated_sanitizer4.2')
-rw-r--r--main/ruby-rails-deprecated_sanitizer4.2/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/ruby-rails-deprecated_sanitizer4.2/APKBUILD b/main/ruby-rails-deprecated_sanitizer4.2/APKBUILD
new file mode 100644
index 0000000000..de5b4795dd
--- /dev/null
+++ b/main/ruby-rails-deprecated_sanitizer4.2/APKBUILD
@@ -0,0 +1,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"