aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ruby-sequel/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ruby-sequel/APKBUILD')
-rw-r--r--testing/ruby-sequel/APKBUILD39
1 files changed, 39 insertions, 0 deletions
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 <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_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"