blob: 45c11c7b3b28039018f096028fe0b1a5f335ff8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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"
|