diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-27 16:25:40 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-27 16:28:25 +0200 |
commit | 471bfc8fadef907c1f7e730a65b307b52d74ca47 (patch) | |
tree | 0e18d26f2b98000be9af77b3bfb8a4b8d5068faa /testing/ruby-github-markup | |
parent | f00cddf6adc783b3a3722ba38b10b6881061f889 (diff) | |
download | aports-471bfc8fadef907c1f7e730a65b307b52d74ca47.tar.bz2 aports-471bfc8fadef907c1f7e730a65b307b52d74ca47.tar.xz |
testing/ruby-github-markup: new aport
This gem is used by GitHub to render any fancy markup such as Markdown, Textile, Org-Mode, etc.
http://rubygems.org/gems/github-markup
Diffstat (limited to 'testing/ruby-github-markup')
-rw-r--r-- | testing/ruby-github-markup/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/ruby-github-markup/APKBUILD b/testing/ruby-github-markup/APKBUILD new file mode 100644 index 0000000000..c69a07ef72 --- /dev/null +++ b/testing/ruby-github-markup/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Seung Soo Mun <hamletmun@gmail.com> +# Maintainer: +_gemname=github-markup +pkgname=ruby-$_gemname +pkgver=1.2.1 +pkgrel=0 +pkgdesc="This gem is used by GitHub to render any fancy markup such as Markdown, Textile, Org-Mode, etc." +url="http://rubygems.org/gems/$_gemname" +arch="noarch" +license="MIT" +depends="ruby ruby-posix-spawn" +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="0eb65135996807d5aa70d2c94d9f1e69 github-markup-1.2.1.gem" +sha256sums="33f291b7b94f6c6a9b42671cf2985b140312c3fef9d918ac928c08d562fa09b9 github-markup-1.2.1.gem" +sha512sums="0c086ef81ebfa7a152395e745ed27235fe684e8e906a00c81caf9418944280ba0957039aa516b9655241b1e49dc153f2281b81a4c80c1be994c1674c5d6d1632 github-markup-1.2.1.gem" |