abinfo "Building rb-inotify ..."
gem build "$SRCDIR"/rb-inotify.gemspec

abinfo "Installing rb-inotify ..."
gem install \
    --ignore-dependencies \
    --no-user-install \
    -i "$PKGDIR"/$(gem env gemdir) \
    -n "$PKGDIR"/usr/bin rb-inotify-$PKGVER.gem

abinfo "Removing cached gem ..."
rm -v "$PKGDIR"/$(gem env gemdir)/cache/rb-inotify-$PKGVER.gem
