diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-12-26 10:10:32 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-12-26 11:18:11 +0200 |
commit | 7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879 (patch) | |
tree | 7778db110dfe49f84723d4bdff374a649c0a3d9c /main/ruby-globalid | |
parent | 3d0e8152811d813dd751ab8d55231b00f32beedd (diff) | |
download | aports-7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879.tar.bz2 aports-7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879.tar.xz |
main/ruby-rails: upgrade to 4.2.0
Diffstat (limited to 'main/ruby-globalid')
-rw-r--r-- | main/ruby-globalid/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/ruby-globalid/APKBUILD b/main/ruby-globalid/APKBUILD new file mode 100644 index 0000000000..b79dc73e6b --- /dev/null +++ b/main/ruby-globalid/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +_gemname=globalid +pkgname=ruby-$_gemname +pkgver=0.3.0 +pkgrel=0 +pkgdesc="URIs for your models makes it easy to pass references around" +url=http://rubyonrails.org/ +arch=noarch +license=MIT +depends="ruby ruby-activesupport" +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="16a027ee660c05755682c434e025b747 globalid-0.3.0.gem" +sha256sums="1884976e6983da2693ab3e52178730137604128056f76bc98dad8c4744378191 globalid-0.3.0.gem" +sha512sums="e1e00f7f815c2278279cc29ba7a3151fc3d0a6bd05a4d5b47c206a70805fa70a57145daea142312f24e26095f96e227f9453258a58aea93b3aabcffb0c376b36 globalid-0.3.0.gem" |