Skip to content
Browse files

puppet 3.1.1-2: bump for ruby 2.0 support

  • Loading branch information...
1 parent 86575f2 commit fcb3e44d16d0ac556912e653f4d48f32fba0598d @GregSutcliffe committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 puppet/PKGBUILD
View
6 puppet/PKGBUILD
@@ -16,7 +16,7 @@
pkgname=puppet
_gemname=puppet
pkgver=3.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="A system for automating system administration tasks."
arch=("any")
url="http://puppetlabs.com/projects/puppet/"
@@ -44,7 +44,7 @@ package() {
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" \
- --no-ri --no-rdoc -n "$pkgdir/usr/bin" "{$_gemname}-${pkgver}.gem"
+ --no-ri --no-rdoc -n "$pkgdir/usr/bin" "$_gemname-${pkgver}.gem"
# Set up vim and emacs
install -Dp -m0644 "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/ext/vim/ftdetect/puppet.vim $pkgdir/usr/share/vim/vimfiles/ftdetect/puppet.vim
@@ -83,7 +83,7 @@ package() {
# Compress and install man pages
install -d $pkgdir/usr/share/man
- mv $pkgdir/usr/lib/ruby/gems/1.9.1/gems/$_gemname-$pkgver/man/* $pkgdir/usr/share/man
+ mv $pkgdir/usr/lib/ruby/gems/2.0.0/gems/$_gemname-$pkgver/man/* $pkgdir/usr/share/man
gzip -9 -q -r $pkgdir/usr/share/man
}

0 comments on commit fcb3e44

Please sign in to comment.
Something went wrong with that request. Please try again.