summaryrefslogtreecommitdiff
path: root/pcr/ruby-maruku/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-20 22:00:46 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-20 22:00:46 -0400
commit6432acbb9217dddf679603268cac6cfe458f01f2 (patch)
tree6d72893a523d229f8f3e57da919fece251b0f25e /pcr/ruby-maruku/PKGBUILD
parentfef6a571afa67b9e5c18c44e98967af51665d8e8 (diff)
downloadabslibre-6432acbb9217dddf679603268cac6cfe458f01f2.tar.gz
abslibre-6432acbb9217dddf679603268cac6cfe458f01f2.tar.bz2
abslibre-6432acbb9217dddf679603268cac6cfe458f01f2.zip
mv pcr/{,ruby-}maruku # and fix+update it.
Diffstat (limited to 'pcr/ruby-maruku/PKGBUILD')
-rw-r--r--pcr/ruby-maruku/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/ruby-maruku/PKGBUILD b/pcr/ruby-maruku/PKGBUILD
new file mode 100644
index 000000000..786b03e98
--- /dev/null
+++ b/pcr/ruby-maruku/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainter: Aurelien Desbrieres <aurelien@cwb.io>
+# Contributer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Adam Lloyd <lloyda2@rpi.edu>
+
+_gemname=maruku
+pkgname=ruby-$_gemname
+pkgver=0.6.1
+pkgdesc="A Markdown-superset interpreter"
+url="http://maruku.rubyforge.org/"
+
+license=('GPL') # GPL2+
+
+pkgrel=1
+arch=(any)
+depends=(ruby ruby-syntax)
+makedepends=(rubygems)
+source=(http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+
+package() {
+ cd "$srcdir"
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
+ "$_gemname-$pkgver.gem"
+}
+
+md5sums=('b919c2b706ca83502a8bec0be5c16c6d')