upgpkg: ruby-oj 3.13.17-1

This commit is contained in:
George Rawlinson 2022-07-20 09:55:46 +12:00
parent 772a573437
commit 44a8dd6115
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -2,7 +2,7 @@
pkgname=ruby-oj
_gemname="${pkgname#ruby-}"
pkgver=3.13.16
pkgver=3.13.17
pkgrel=1
pkgdesc='The fastest JSON parser and object serializer'
arch=('x86_64')
@ -13,8 +13,8 @@ makedepends=('ruby-rdoc')
options=(!emptydirs)
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
noextract=("$_gemname-$pkgver.gem")
sha512sums=('430259097231c9835b7ddce0f59669e3ba689f633bd3b5404ab0e9e5216564b5228e11d5bf9fbde4db4ae87d0923bd02034fb9dae427d82c6001aa602ffdbbb5')
b2sums=('8c23ba0d0d2b889a69e8431b810ecd1da74b8944e98e6f1c9967fef1b917dc6539c3dcd1ca2624d2c39bfa77ed9864aed451c8e3128086288322a93890c53b2b')
sha512sums=('584811e38c9bcef658b2d30a375f7461b8cae70dd6ed625120121132c6f5141270da7bbf744cd22d7099bff7217d226824b21bc92a8a44000f628b0ceb9f043d')
b2sums=('60cd8978adeec7fb46b57fc9d006e42c70eb2f238609c1acfdfefd234b9bbccefc52aad8f2637c5c733a1b4834b84c87f96fb35b41020558c6633a977b638664')
package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
@ -52,6 +52,7 @@ package() {
--format ri \
--output "$pkgdir$_gemdir/doc/$_gemname-$pkgver/ri" \
./lib
# delete unnecessary rdoc metadata file
rm -f "$pkgdir$_gemdir/doc/$_gemname-$pkgver/ri/created.rid"
}