2014-01-13 16:10:47 +00:00

40 lines
1.2 KiB
Plaintext

# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_gemname=sequel
pkgname=ruby-$_gemname
pkgver=3.48.0
pkgrel=1
pkgdesc="The Database Toolkit for Ruby"
url="https://rubygems.org/gems/$_gemname"
arch="noarch"
license="GPL"
depends="ruby"
depends_dev=
makedepends="$depends_dev"
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"