# Generated by gem2arch (https://github.com/anatol/gem2arch) # Maintainer: Hugo Osvaldo Barrera # Contributor: Anatol Pomozov _gemname=jekyll-watch pkgname=ruby-$_gemname pkgver=1.2.1 pkgrel=1 pkgdesc='Rebuild your Jekyll site when a file changes with the `--watch` switch.' arch=(any) url='https://github.com/jekyll/jekyll-watch' license=(MIT) depends=(ruby-listen) options=(!emptydirs) source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) noextract=($_gemname-$pkgver.gem) sha1sums=('d61f152af17fd32cb76ffd4192a6f46eaf71e06c') package() { 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" }