From 7145b9ac4068b4ed0f12c137b5e4a5cf3dfc0c96 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 11 Jun 2013 15:25:10 +0000 Subject: testing/ruby-sequel: new aport --- testing/ruby-sequel/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 testing/ruby-sequel/APKBUILD diff --git a/testing/ruby-sequel/APKBUILD b/testing/ruby-sequel/APKBUILD new file mode 100644 index 0000000000..ebd857f1d9 --- /dev/null +++ b/testing/ruby-sequel/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Carlo Landmeter +# Maintainer: Natanael Copa +_gemname=sequel +pkgname=ruby-$_gemname +pkgver=3.48.0 +pkgrel=0 +pkgdesc="The Database Toolkit for Ruby" +url="https://rubygems.org/gems/$_gemname" +arch="noarch" +license="GPL" +depends="ruby" +depends_dev= +makedepends="$depends_dev ruby-gems" +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="ce7ee00e08405b5e796c22be9c608ddf sequel-3.48.0.gem" +sha256sums="5ef9ef0b85dc686a610f55ffd18e0b3a432a1155f48ddec9894e5a01b0986360 sequel-3.48.0.gem" +sha512sums="e3444d35064d1df77edab1af694ebbb7e90c2bb524a47b16e8ece0560ab7249b8d6fe36d752af587d78c82d6e9b553e90a422432afe83073aefd4750cec45c92 sequel-3.48.0.gem" -- cgit v1.2.3