From b951abfe754edd478b0a17f12cad5fb56e42eee1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 29 Apr 2016 08:04:05 +0000 Subject: move main/ruby-* to unmaintained --- .../ruby-rails-deprecated_sanitizer4.2/APKBUILD | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD (limited to 'unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD') diff --git a/unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD b/unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD new file mode 100644 index 0000000000..de5b4795dd --- /dev/null +++ b/unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Kaarle Ritvanen +# Maintainer: Kaarle Ritvanen +_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" -- cgit v1.2.3