From 6432acbb9217dddf679603268cac6cfe458f01f2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 20 Oct 2013 22:00:46 -0400 Subject: mv pcr/{,ruby-}maruku # and fix+update it. --- pcr/ruby-maruku/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pcr/ruby-maruku/PKGBUILD (limited to 'pcr/ruby-maruku') 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 +# Contributer: Luke Shumaker +# Maintainer (AUR): Adam Lloyd + +_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') -- cgit v1.2.3