diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-12-05 12:39:32 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-12-05 12:40:23 +0200 |
commit | 82fa7ab6f5bbc2012c92d0ada2785c13519f5525 (patch) | |
tree | be0f59ea488b24d7a31bb73da7eb992508bb73ce /main/ruby-rails-observers | |
parent | 61e53274600c0ab7fc52b6e1cd6b5367fec2e5d4 (diff) | |
download | aports-82fa7ab6f5bbc2012c92d0ada2785c13519f5525.tar.bz2 aports-82fa7ab6f5bbc2012c92d0ada2785c13519f5525.tar.xz |
main/ruby*: fix dependencies and update to latest possible versions
Diffstat (limited to 'main/ruby-rails-observers')
-rw-r--r-- | main/ruby-rails-observers/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/ruby-rails-observers/APKBUILD b/main/ruby-rails-observers/APKBUILD new file mode 100644 index 0000000000..cd6d395fc1 --- /dev/null +++ b/main/ruby-rails-observers/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +_gemname=rails-observers +pkgname=ruby-$_gemname +pkgver=0.1.2 +pkgrel=0 +pkgdesc="Rails observer" +url=http://rubyonrails.org/ +arch=noarch +license=MIT +depends="ruby ruby-activemodel" +makedepends=ruby +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="346b2722bcef9e6bda14c1567acad58d rails-observers-0.1.2.gem" +sha256sums="9e71de73929a9a7e8cde83c041989bbb25914f84047ce15dde37eefa650a5cd3 rails-observers-0.1.2.gem" +sha512sums="f3852626ee5bea57873a774e805c9648c086c63459e9bc469cb7aaae1a5c60370b3a2105250637ca99a1fa10e121178bf1ff9dad05eecb8679e1ab8c7a026928 rails-observers-0.1.2.gem" |