diff options
Diffstat (limited to '~fauno/ruby-mustache')
-rw-r--r-- | ~fauno/ruby-mustache/PKGBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/~fauno/ruby-mustache/PKGBUILD b/~fauno/ruby-mustache/PKGBUILD index 7b396434c..8c8d924c1 100644 --- a/~fauno/ruby-mustache/PKGBUILD +++ b/~fauno/ruby-mustache/PKGBUILD @@ -1,29 +1,30 @@ # Maintainer: David Campbell <davekong@archlinux.us> pkgname=ruby-mustache pkgver=0.99.4 -pkgrel=1 +pkgrel=2 pkgdesc="A framework-agnostic way to render logic-free views." arch=('any') url="http://github.com/defunkt/mustache" license=(MIT) depends=('ruby') makedepends=('rubygems') -source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem") +source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem" + "https://raw.github.com/defunkt/mustache/master/LICENSE") +md5sums=('650194ec2c166feb087377647414b9dc' + 'fbbd010314b3f1554733123ecde55a52') noextract=("mustache-${pkgver}.gem") build() { cd $srcdir local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install --ignore-dependencies -i "$pkgdir$_gemdir" mustache-$pkgver.gem \ - -n "$pkgdir/usr/bin" + gem install \ + --ignore-dependencies \ + -i "$pkgdir$_gemdir" mustache-$pkgver.gem \ + -n "$pkgdir/usr/bin" - install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/LICENSE \ + install -Dm644 $srcdir/LICENSE \ $pkgdir/usr/share/licenses/$pkgname/LICENSE - install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/man/mustache.1 \ - $pkgdir/usr/share/man/man1/mustache.1 - install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/man/mustache.5 \ - $pkgdir/usr/share/man/man5/mustache.5 + } # vim:set ts=2 sw=2 et: -md5sums=('650194ec2c166feb087377647414b9dc') |