blob: e45d1de3500f089b8cdda6bfa6bb3d2b47d12351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: Bjorn Neergaard (neersighted) <bjorn@neersighted.com>
# Contributor: Matt Harrison <matt@mistbyte.com>
_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
|