blob: 44b34ae361e8da73f6bb68dee5c2fd53fe8936dd (
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: Seung Soo Mun <hamletmun@gmail.com>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
_gemname=mini_portile
pkgname=ruby-$_gemname
pkgver=0.6.1
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"
_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="8d34be7036a2f6b5844e952584280bc2 mini_portile-0.6.1.gem"
sha256sums="7434cd632cfcf6bfd680cd72bec9e17788b1d28d2f6d50504b5969822681ea1d mini_portile-0.6.1.gem"
sha512sums="25861b8c412d8b29e7f84392b7ce3f2f2e30871788ecdf59a32597e195d4432107120f0e3002c7029160b9be24276118722249f1ab17f6274d80d9ab2348ac5a mini_portile-0.6.1.gem"
|