[arch-commits] Commit in ruby-json/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Jul 8 16:00:19 UTC 2021
Date: Thursday, July 8, 2021 @ 16:00:19
Author: dvzrv
Revision: 975789
upgpkg: ruby-json 2.5.1-3: Rebuild to remove unreproducible files.
Parts of the documentation files are not reproducible (in fact just useless build files).
Modified:
ruby-json/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-08 15:54:11 UTC (rev 975788)
+++ PKGBUILD 2021-07-08 16:00:19 UTC (rev 975789)
@@ -3,7 +3,7 @@
_name=json
pkgname=ruby-json
pkgver=2.5.1
-pkgrel=2
+pkgrel=3
pkgdesc="JSON implementation for Ruby"
arch=('x86_64')
url="https://github.com/flori/json"
@@ -14,6 +14,7 @@
options=(!emptydirs)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/flori/${_name}/archive/v${pkgver}.tar.gz")
sha512sums=('4df7ec9b86692376e89c2019c2c1ab3ae9af28fb4742864acc6f985c0551fc10795742cc1124d6435e820617c00d4c5f4aa6c83b21d2fff43ed05cd9d0a89087')
+b2sums=('2ccdf5921ef476b66cb1dbf72cc01763636c82b0eb5d0a5cfc029e14177c7c6766464e7852b11c2424db401f5b931cb64c01d3952929236c9979378a7928ea59')
prepare() {
mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
@@ -43,6 +44,8 @@
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
# removing all unneeded stuff
cd "${pkgdir}/${_gemdir}"
- rm -rvf cache gems/${_name}-${pkgver}/{ext,lib/*/*.so,*.gemspec} \
- extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out}
+ rm -rvf cache \
+ "doc/${_name}-${pkgver}/ri/ext/" \
+ extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out} \
+ gems/${_name}-${pkgver}/{ext,lib/*/*.so,*.gemspec}
}
More information about the arch-commits
mailing list