summaryrefslogtreecommitdiff
path: root/pcr/maruku/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-04 07:22:11 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-04 07:22:11 +0200
commita288d88ddee068b2e0bf29b3b43d8a3c02299f8a (patch)
treedbe1d3be6193dd2eacbe05d4a64b4317153a536b /pcr/maruku/PKGBUILD
parent8a5fb81026577bacbab20407b3bdfb9a7d784256 (diff)
maruku
Diffstat (limited to 'pcr/maruku/PKGBUILD')
-rw-r--r--pcr/maruku/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/maruku/PKGBUILD b/pcr/maruku/PKGBUILD
new file mode 100644
index 000000000..bc8400737
--- /dev/null
+++ b/pcr/maruku/PKGBUILD
@@ -0,0 +1,22 @@
+# Contributor: Adam Lloyd <lloyda2 (at) rpi (dot) edu>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBIÈRES <aurelien@hackers.camp>
+
+pkgname=maruku
+pkgver=0.6.1
+pkgrel=2
+pkgdesc="A Markdown-superset interpreter"
+arch=(any)
+url="http://maruku.rubyforge.org/"
+license=('GPL2')
+depends=(ruby ruby-syntax)
+makedepends=(rubygems)
+source=(http://gems.rubyforge.org/gems/maruku-$pkgver.gem)
+noextract=(maruku-$pkgver.gem)
+
+build() {
+ cd $srcdir
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" maruku-$pkgver.gem
+}
+
+# vim:set ts=2 sw=2 et: