upgpkg: ruby-oj 3.13.2-1
New upstream release.
This commit is contained in:
parent
f23ade6df2
commit
6882041869
1 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
_gemname=oj
|
_gemname=oj
|
||||||
pkgname=ruby-$_gemname
|
pkgname=ruby-$_gemname
|
||||||
pkgver=3.13.1
|
pkgver=3.13.2
|
||||||
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,7 +13,7 @@ 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=('a77d194ab66a93abb6a9606c4b1697e4382dd1d7f4d1f59dedb370971c760feba221d6d881ce933632d98f63696695ae290f0709e78b36459c1c8cbf43b74242')
|
b2sums=('e74ce94a4eefdd26ba257f01fae4f7e37015ec96c1d80e4dbb81d00272a7f2e1ee2b9d38f73ba75cb779b84a65b16eced9c64d5c1d66458278c61556612d7fb5')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
local _gemdir="$(ruby -e'puts Gem.default_dir')"
|
local _gemdir="$(ruby -e'puts Gem.default_dir')"
|
||||||
|
@ -31,8 +31,7 @@ package() {
|
||||||
rm -vrf cache
|
rm -vrf cache
|
||||||
|
|
||||||
# delete unnecessary files & folders
|
# delete unnecessary files & folders
|
||||||
# TODO: investigate gem.build_complete (gem_build_complete_path)
|
rm -vrf "extensions/$CARCH-linux/$(basename $_gemdir)/$_gemname-$pkgver/gem_make.out"
|
||||||
rm -vrf "extensions/$CARCH-linux/$(basename $(ruby -e'puts Gem.default_dir'))/$_gemname-$pkgver/gem_make.out"
|
|
||||||
cd "gems/$_gemname-$pkgver"
|
cd "gems/$_gemname-$pkgver"
|
||||||
rm -vrf test ext
|
rm -vrf test ext
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue