diff options
Diffstat (limited to 'unmaintained/ruby-rouge/APKBUILD')
-rw-r--r-- | unmaintained/ruby-rouge/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-rouge/APKBUILD b/unmaintained/ruby-rouge/APKBUILD new file mode 100644 index 0000000000..e78eb10c16 --- /dev/null +++ b/unmaintained/ruby-rouge/APKBUILD @@ -0,0 +1,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" |