aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-rouge/APKBUILD
blob: e78eb10c160e0104cf55e679a8b05153f35a5dc6 (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:
_gemname=rouge
pkgname=ruby-$_gemname
pkgver=1.3.4
pkgrel=0
pkgdesc="Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments"
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="cad6f9dd6113ab4d685354a51d3a0b65  rouge-1.3.4.gem"
sha256sums="d8e6828000425616ef08003e60a70736664b6182e76ab6ecd2c1810f0f219fe2  rouge-1.3.4.gem"
sha512sums="048e0249e43e49dd84452f87ca10c6f23aa2e9e2262b0b0bd5227f85b86039be9f411ade9c0cf891cc2a3e3a8e5ff4455820e22ffec56f25b7fcc444a04b512b  rouge-1.3.4.gem"