diff options
Diffstat (limited to 'unmaintained/ruby-openid')
-rw-r--r-- | unmaintained/ruby-openid/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-openid/APKBUILD b/unmaintained/ruby-openid/APKBUILD new file mode 100644 index 0000000000..c5c61cdf27 --- /dev/null +++ b/unmaintained/ruby-openid/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=ruby-openid +_gemname=ruby-openid +# redmine 3.0 needs ~> 2.3.0 +pkgver=2.3.0 +pkgrel=0 +pkgdesc="OpenID support for Ruby" +url="http://rubygems.org/gems/openid" +arch="noarch" +license="GPL" +depends="ruby" +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="1e1374cdcd9e7b88d7db3a25d46197f2 ruby-openid-2.3.0.gem" +sha256sums="f69ed004e95f7094e23bfd8bc9ebfb1dc88a7b46637252ca2907a1189870ea7b ruby-openid-2.3.0.gem" +sha512sums="8cf46b4d6e2722f0a34ecc57858f23fe02b10d0f99a646adee5e07b129aa80ce256a79bea513922b4238bc312478cf395261733863af300d8dbda9f12aaf03f7 ruby-openid-2.3.0.gem" |