Browse Source

upgpkg: ruby-tty-which 0.5.0-1

primary
George Rawlinson 11 months ago
parent
commit
36c3632b39
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
  1. 7
      ruby-tty-which/PKGBUILD

7
ruby-tty-which/PKGBUILD

@ -2,25 +2,26 @@
_gemname=tty-which
pkgname=ruby-$_gemname
pkgver=0.4.2
pkgver=0.5.0
pkgrel=1
pkgdesc="Cross-platform implementation of Unix 'which' command"
arch=('any')
url="https://github.com/piotrmurach/tty-color"
license=('MIT')
depends=('ruby')
makedepends=('ruby-rdoc')
options=('!emptydirs')
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
noextract=("$_gemname-$pkgver.gem")
b2sums=('9701534985a9fef2d2c6fee14cb8e1e817757b4e1e1504d4f5efcf8c1c01b41d3adf6d57ded84ac01190966e3fd96fd1cf5e85ebbdb6f03ebc4e18b7a6086c0b')
b2sums=('505b7671cec9356339c228f3c61ee23d355448ffa3a569dacb8894a0362051a3c874d60f1a64b20e5788ac0999efc1daafdbbece7b689213e5802e54de6c9746')
package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install \
--verbose \
--ignore-dependencies \
--no-user-install \
--no-document \
--install-dir "$pkgdir/$_gemdir" \
--bindir "$pkgdir/usr/bin" \
"$_gemname-$pkgver.gem"

Loading…
Cancel
Save