mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
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
This commit is contained in:
parent
f00cddf6ad
commit
471bfc8fad
1 changed files with 39 additions and 0 deletions
39
testing/ruby-github-markup/APKBUILD
Normal file
39
testing/ruby-github-markup/APKBUILD
Normal file
|
@ -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"
|
Loading…
Add table
Add a link
Reference in a new issue