blob: 3b9849000eb0f656e0be2a5e7caceaf73c55857f (
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
|
# Contributor: Seung Soo Mun <hamletmun@gmail.com>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=mini_portile2
pkgname=ruby-$_gemname
pkgver=2.0.0
pkgrel=0
pkgdesc="Simplistic port-like solution for developers"
url="http://rubygems.org/gems/$_gemname"
arch="noarch"
license="MIT"
depends="ruby"
depends_dev=""
makedepends="$depends_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="e608463ac8081fe600f7bb6ea46c3e64 mini_portile2-2.0.0.gem"
sha256sums="147d9f63e3dceb4da9e2036a93b9a6d45b12668c55abe0696f70925aeccacd14 mini_portile2-2.0.0.gem"
sha512sums="70f4f6ee33b4d2265736a2bdfcb885dff59e967018450f7d3eb6b73aa983db7636036f8610a5734697d01db7db9173278063ae42942459eba460ad27252720ae mini_portile2-2.0.0.gem"
|