summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ruby-maruku/PKGBUILD36
1 files changed, 17 insertions, 19 deletions
diff --git a/pcr/ruby-maruku/PKGBUILD b/pcr/ruby-maruku/PKGBUILD
index 786b03e98..3256da76f 100644
--- a/pcr/ruby-maruku/PKGBUILD
+++ b/pcr/ruby-maruku/PKGBUILD
@@ -1,27 +1,25 @@
-# Maintainter: Aurelien Desbrieres <aurelien@cwb.io>
-# Contributer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (AUR): Adam Lloyd <lloyda2@rpi.edu>
+# Maintainer (Arch): Mario Finelli <mtfinelli at gmail dot com>
+# Contributor (Arch): Anatol Pomozov <anatol.pomozov at gmail dot com>
+# Contributor (Arch): oliparcol <oliparcol at gmail dot com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_gemname=maruku
pkgname=ruby-$_gemname
-pkgver=0.6.1
-pkgdesc="A Markdown-superset interpreter"
-url="http://maruku.rubyforge.org/"
-
-license=('GPL') # GPL2+
-
-pkgrel=1
+pkgver=0.7.2
+pkgrel=2
+pkgdesc='Maruku is a Markdown-superset interpreter written in Ruby.'
arch=(any)
-depends=(ruby ruby-syntax)
-makedepends=(rubygems)
-source=(http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem)
+url='http://github.com/bhollis/maruku'
+license=(MIT)
+depends=(ruby)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)
+sha256sums=('e8a755d8e9c24f1601157c8b376f0378f88d487fa777aa655f332504557a0798')
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"
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/MIT-LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE.txt"
}
-
-md5sums=('b919c2b706ca83502a8bec0be5c16c6d')