# Maintainer: Felix Golatofski # Contributor: Bjorn Neergaard (neersighted) # Contributor: Matt Harrison _pkgname=ruby-haste pkgname=ruby-haste pkgver=0.2.3 pkgrel=1 pkgdesc='Simple client for uploading text to a haste-server (hastebin)' url='https://github.com/seejohnrun/haste-client' license=('MIT') source=("https://rubygems.org/downloads/haste-${pkgver}.gem") sha256sums=('986048f20b22c8251dc775041ddba04a298b953ee0d09bb0046df34ef7045849') arch=('any') depends=('ruby' 'ruby-faraday' 'ruby-json') package() { cd "${srcdir}" # Install the program. gem install --no-user-install --ignore-dependencies \ -i "${pkgdir}$(ruby -e 'puts Gem.default_dir')" \ -n "${pkgdir}/usr/bin" \ "haste-${pkgver}.gem" } # vim: ft=sh ts=2 sw=2 et