|
|
|
@ -1,19 +1,19 @@
|
|
|
|
|
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
|
|
|
|
|
|
|
|
|
_gemname=unicode-display_width
|
|
|
|
|
pkgname=ruby-$_gemname
|
|
|
|
|
pkgver=2.1.0
|
|
|
|
|
pkgname=ruby-unicode-display_width
|
|
|
|
|
_gemname="${pkgname#ruby-}"
|
|
|
|
|
pkgver=2.2.0
|
|
|
|
|
pkgrel=1
|
|
|
|
|
pkgdesc="Determines the monospace display width of a string in Ruby"
|
|
|
|
|
pkgdesc='Determines the monospace display width of a string in Ruby'
|
|
|
|
|
arch=('any')
|
|
|
|
|
url="https://github.com/janlelis/unicode-display_width"
|
|
|
|
|
url='https://github.com/janlelis/unicode-display_width'
|
|
|
|
|
license=('MIT')
|
|
|
|
|
depends=('ruby')
|
|
|
|
|
makedepends=('ruby-rdoc')
|
|
|
|
|
options=('!emptydirs')
|
|
|
|
|
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
|
|
|
|
|
noextract=("$_gemname-$pkgver.gem")
|
|
|
|
|
b2sums=('5352c8ca774925a9022521d17a7f318b888353d6da7b2d93a7f787d31fb7cb82282a5aec33b6b36b401477e47bb7be2be5e15d2951a41f1a44b0d7fa5830f8da')
|
|
|
|
|
b2sums=('539ead4d7fd3c113c99b7886b6e1e00f39431a8a3690bfcd6cdfa11b954e7e96c78c88a821f734449e8f5acc377ed2573934bab6e36ec316f708fa720cbef271')
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
|
local _gemdir="$(ruby -e'puts Gem.default_dir')"
|
|
|
|
|