upgpkg: ruby-tty-which 0.5.0-1
This commit is contained in:
parent
9d7c6dfb3a
commit
36c3632b39
1 changed files with 4 additions and 3 deletions
|
@ -2,25 +2,26 @@
|
||||||
|
|
||||||
_gemname=tty-which
|
_gemname=tty-which
|
||||||
pkgname=ruby-$_gemname
|
pkgname=ruby-$_gemname
|
||||||
pkgver=0.4.2
|
pkgver=0.5.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Cross-platform implementation of Unix 'which' command"
|
pkgdesc="Cross-platform implementation of Unix 'which' command"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/piotrmurach/tty-color"
|
url="https://github.com/piotrmurach/tty-color"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('ruby')
|
depends=('ruby')
|
||||||
|
makedepends=('ruby-rdoc')
|
||||||
options=('!emptydirs')
|
options=('!emptydirs')
|
||||||
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
|
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
|
||||||
noextract=("$_gemname-$pkgver.gem")
|
noextract=("$_gemname-$pkgver.gem")
|
||||||
b2sums=('9701534985a9fef2d2c6fee14cb8e1e817757b4e1e1504d4f5efcf8c1c01b41d3adf6d57ded84ac01190966e3fd96fd1cf5e85ebbdb6f03ebc4e18b7a6086c0b')
|
b2sums=('505b7671cec9356339c228f3c61ee23d355448ffa3a569dacb8894a0362051a3c874d60f1a64b20e5788ac0999efc1daafdbbece7b689213e5802e54de6c9746')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
local _gemdir="$(ruby -e'puts Gem.default_dir')"
|
local _gemdir="$(ruby -e'puts Gem.default_dir')"
|
||||||
|
|
||||||
gem install \
|
gem install \
|
||||||
|
--verbose \
|
||||||
--ignore-dependencies \
|
--ignore-dependencies \
|
||||||
--no-user-install \
|
--no-user-install \
|
||||||
--no-document \
|
|
||||||
--install-dir "$pkgdir/$_gemdir" \
|
--install-dir "$pkgdir/$_gemdir" \
|
||||||
--bindir "$pkgdir/usr/bin" \
|
--bindir "$pkgdir/usr/bin" \
|
||||||
"$_gemname-$pkgver.gem"
|
"$_gemname-$pkgver.gem"
|
||||||
|
|
Loading…
Reference in a new issue