summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: