# Generated by gem2arch (https://github.com/anatol/gem2arch) # Maintainer: Rhys _gemname=inotify pkgname=ruby-$_gemname pkgver=1.0.2 pkgrel=1 pkgdesc='Inotify wrapper' arch=(any) url='https://github.com/jtripper/inotify' license=(GPLv2) depends=(ruby) options=(!emptydirs) source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) noextract=($_gemname-$pkgver.gem) sha1sums=('e5638140d82ad2c48028c23e163ce776b433bb61') 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" }