mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 02:11:16 +02:00
This gem is used by GitHub to render any fancy markup such as Markdown, Textile, Org-Mode, etc. http://rubygems.org/gems/github-markup
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# 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"
|