diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:06:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | f58e361776f7398d806321ea9d63f59f5fc38b5d (patch) | |
tree | eea648afb288a35c5b1e2bffb3d3b4442578b08b /unmaintained/ruby-actionview4.2/APKBUILD | |
parent | b951abfe754edd478b0a17f12cad5fb56e42eee1 (diff) | |
download | aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.bz2 aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.xz |
move community/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-actionview4.2/APKBUILD')
-rw-r--r-- | unmaintained/ruby-actionview4.2/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/ruby-actionview4.2/APKBUILD b/unmaintained/ruby-actionview4.2/APKBUILD new file mode 100644 index 0000000000..ea17194089 --- /dev/null +++ b/unmaintained/ruby-actionview4.2/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +_gemname=actionview +pkgname=ruby-${_gemname}4.2 +pkgver=4.2.5.2 +pkgrel=0 +pkgdesc="Simple, battle-tested conventions and helpers for building web pages" +url=http://rubyonrails.org/ +arch=noarch +license=MIT +depends="ruby + ruby-activesupport4.2 + ruby-builder + ruby-erubis + ruby-rails-dom-testing4.2 + ruby-rails-html-sanitizer + " +makedepends=ruby +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +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="2fc9c05b729d37cd5d0fe0d0177f7454 actionview-4.2.5.2.gem" +sha256sums="e8ce01cf6cc822ec023a15a856a0fae0e078ebb232b95b722c23af4117d2d635 actionview-4.2.5.2.gem" +sha512sums="b3d6b943adc0b037f80a34f9753ec2f9439c16089557f75889a64a6fe1152e9e8d81672dc86f1ceb15d8fb93d10bb13770ac0f7180262386ace25a7e7c1feec2 actionview-4.2.5.2.gem" |