diff options
-rw-r--r-- | pcr/maruku/PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pcr/maruku/PKGBUILD b/pcr/maruku/PKGBUILD index bc8400737..7b7320c3f 100644 --- a/pcr/maruku/PKGBUILD +++ b/pcr/maruku/PKGBUILD @@ -3,7 +3,7 @@ pkgname=maruku pkgver=0.6.1 -pkgrel=2 +pkgrel=2.1 pkgdesc="A Markdown-superset interpreter" arch=(any) url="http://maruku.rubyforge.org/" @@ -12,11 +12,12 @@ depends=(ruby ruby-syntax) makedepends=(rubygems) source=(http://gems.rubyforge.org/gems/maruku-$pkgver.gem) noextract=(maruku-$pkgver.gem) +sha1sums=('67d0331ba51730a2fc3101a87c438aef136e7e90') -build() { +package() { cd $srcdir local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" maruku-$pkgver.gem + gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" maruku-$pkgver.gem } # vim:set ts=2 sw=2 et: |