aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-gollum_rails-github-markup
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-29 08:11:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-29 12:36:41 +0000
commit80acbaee801184140fac0c967cbb8aa051db2b06 (patch)
tree77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-gollum_rails-github-markup
parent5db5ee5c13e577e862e822501b2e4863fbd63195 (diff)
downloadaports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.bz2
aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.xz
move testing/ruby-* to unmaintained
ruby-mime-types and ruby-nokogiri was there already so remove those
Diffstat (limited to 'unmaintained/ruby-gollum_rails-github-markup')
-rw-r--r--unmaintained/ruby-gollum_rails-github-markup/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-gollum_rails-github-markup/APKBUILD b/unmaintained/ruby-gollum_rails-github-markup/APKBUILD
new file mode 100644
index 0000000000..e1aa9949ba
--- /dev/null
+++ b/unmaintained/ruby-gollum_rails-github-markup/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Seung Soo Mun <hamletmun@gmail.com>
+# Maintainer:
+_gemname=github-markup
+pkgname=ruby-gollum_rails-$_gemname
+pkgver=0.7.5
+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"
+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="79663fd409cc59402d86882b43472be2 github-markup-0.7.5.gem"
+sha256sums="a5d74d5a67e723bc4014f5db8682f88d65b5eb66b0ab1b58b04fb023426759f3 github-markup-0.7.5.gem"
+sha512sums="baa30a08be8806fa3eccf95560e54e46d00f6a607e0c47885434e63df39a1f906f91d22ceb1201ee15371650f2a8a34179fc9eec4f1f4a3030108b13bf8b3ca0 github-markup-0.7.5.gem"