aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-mini_portile/APKBUILD
blob: fac7cba0e52c387e2bebc28ca737d3773dd0eab5 (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.2
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="281cc0d974d3810d1195ad4a863ba5b6  mini_portile-0.6.2.gem"
sha256sums="5c60cd85db3df6b279e9a6807954c596dc0ced359a10fcd9b49969a6aa8d7d40  mini_portile-0.6.2.gem"
sha512sums="fd6ce49b5db291e8216f001e4a3bd14d69a920d6d457de7566f7526abf616dad3ec86d4951ab4b881ffd185b4d4e02e64eb2ae494cd9a1275e342b78afa4e2bc  mini_portile-0.6.2.gem"