diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:04:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | b951abfe754edd478b0a17f12cad5fb56e42eee1 (patch) | |
tree | e71d1359aad8863964935b6d374f6e97b715dbde /unmaintained/ruby-rails-deprecated_sanitizer4.2 | |
parent | 966bc7207f72795a226a704782b524c2b2fbefb3 (diff) | |
download | aports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.bz2 aports-b951abfe754edd478b0a17f12cad5fb56e42eee1.tar.xz |
move main/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-rails-deprecated_sanitizer4.2')
-rw-r--r-- | unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
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 <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" |