summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2454759676daf34005f56e7b022476989523e09d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: noraj <printf %s 'YWxleGFuZHJlLnphbm5pQGV1cm9wZS5jb20='|base64 -d>

pkgname=ruby-twitter_cldr
_gemname=${pkgname#ruby-}
pkgver=6.12.1
pkgrel=1
pkgdesc='Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.'
arch=('any')
url='https://github.com/twitter/twitter-cldr-rb'
license=('Apache')
depends=('ruby' 'ruby-camertron-eprun' 'ruby-tzinfo' 'ruby-cldr-plurals-runtime-rb')
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
noextract=("$_gemname-$pkgver.gem")
sha512sums=('6276ee8df724ecbffdfc5b494126e0290e2d9aca1865720cbfd68e2042665bf92450430c694092470613d1b9d8874eb20664fd34e965b7c15653bbafe528ff50')

package() {
  _gemhome="$(gem env home)"

  gem install --ignore-dependencies --no-user-install --no-document \
    -i "$pkgdir/$_gemhome" -n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem"

  rm "$pkgdir/$_gemhome/cache/$_gemname-$pkgver.gem"
}