blob: 35ac4d8298551bac90d344c862daf6243fffca66 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=ruby-addressable
_gemname=addressable
pkgver=2.4.0
pkgrel=0
pkgdesc="Addressable is a replacement for the URI implementation that is part of Ruby's standard library"
url="http://addressable.rubyforge.org/"
arch="noarch"
license="APACHE-2.0"
depends="ruby"
depends_dev=""
makedepends="$depends_dev ruby-dev"
install=""
subpackages=""
source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
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="2d340295a78606dcb68f93b7730e76d1 addressable-2.4.0.gem"
sha256sums="7abfff765571b0a73549c9a9d2f7e143979cd0c252f7fa4c81e7102a973ef656 addressable-2.4.0.gem"
sha512sums="b81fa48e7c4188827c03ac93960b6fd6fb9f5a438f5243cddea39d6820ef756ee7c0086ec330dc4a3538008b3b254757af7d30248624127649cc006a2793eda8 addressable-2.4.0.gem"
|