upgpkg: ruby-oj 3.13.17-1
This commit is contained in:
parent
772a573437
commit
44a8dd6115
1 changed files with 4 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
pkgname=ruby-oj
|
pkgname=ruby-oj
|
||||||
_gemname="${pkgname#ruby-}"
|
_gemname="${pkgname#ruby-}"
|
||||||
pkgver=3.13.16
|
pkgver=3.13.17
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='The fastest JSON parser and object serializer'
|
pkgdesc='The fastest JSON parser and object serializer'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -13,8 +13,8 @@ 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")
|
||||||
sha512sums=('430259097231c9835b7ddce0f59669e3ba689f633bd3b5404ab0e9e5216564b5228e11d5bf9fbde4db4ae87d0923bd02034fb9dae427d82c6001aa602ffdbbb5')
|
sha512sums=('584811e38c9bcef658b2d30a375f7461b8cae70dd6ed625120121132c6f5141270da7bbf744cd22d7099bff7217d226824b21bc92a8a44000f628b0ceb9f043d')
|
||||||
b2sums=('8c23ba0d0d2b889a69e8431b810ecd1da74b8944e98e6f1c9967fef1b917dc6539c3dcd1ca2624d2c39bfa77ed9864aed451c8e3128086288322a93890c53b2b')
|
b2sums=('60cd8978adeec7fb46b57fc9d006e42c70eb2f238609c1acfdfefd234b9bbccefc52aad8f2637c5c733a1b4834b84c87f96fb35b41020558c6633a977b638664')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
local _gemdir="$(ruby -e'puts Gem.default_dir')"
|
local _gemdir="$(ruby -e'puts Gem.default_dir')"
|
||||||
|
@ -52,6 +52,7 @@ package() {
|
||||||
--format ri \
|
--format ri \
|
||||||
--output "$pkgdir$_gemdir/doc/$_gemname-$pkgver/ri" \
|
--output "$pkgdir$_gemdir/doc/$_gemname-$pkgver/ri" \
|
||||||
./lib
|
./lib
|
||||||
|
|
||||||
# delete unnecessary rdoc metadata file
|
# delete unnecessary rdoc metadata file
|
||||||
rm -f "$pkgdir$_gemdir/doc/$_gemname-$pkgver/ri/created.rid"
|
rm -f "$pkgdir$_gemdir/doc/$_gemname-$pkgver/ri/created.rid"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue