[arch-commits] Commit in ruby-zeitwerk/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Wed Dec 29 13:28:29 UTC 2021


    Date: Wednesday, December 29, 2021 @ 13:28:29
  Author: dvzrv
Revision: 1087184

upgpkg: ruby-zeitwerk 2.5.2-1: Upgrade to 2.5.2.

Simplify quoting in file.
Do not break long lines.

Modified:
  ruby-zeitwerk/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++----------------
 1 file changed, 11 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-29 13:27:08 UTC (rev 1087183)
+++ PKGBUILD	2021-12-29 13:28:29 UTC (rev 1087184)
@@ -2,21 +2,21 @@
 
 _name=zeitwerk
 pkgname=ruby-zeitwerk
-pkgver=2.5.1
+pkgver=2.5.2
 pkgrel=1
-pkgdesc='Efficient and thread-safe code loader for Ruby'
-arch=('any')
+pkgdesc="Efficient and thread-safe code loader for Ruby"
+arch=(any)
 url="https://github.com/fxn/zeitwerk"
-license=('MIT')
-depends=('ruby')
-makedepends=('ruby-rake' 'ruby-rdoc')
+license=(MIT)
+depends=(ruby)
+makedepends=(ruby-rake ruby-rdoc)
 # TODO: package ruby-minitest-focus
 # TODO: package ruby-minitest-reporters
-# checkdepends=('ruby-minitest' 'ruby-minitest-focus' 'ruby-minitest-reporters')
+# checkdepends=(ruby-minitest ruby-minitest-focus ruby-minitest-reporters)
 options=(!emptydirs)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/fxn/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('4558a63f33d26f2aa05e5f6e417230902f14d4ade5bfb50cbd94d283b33e94e8486158f5b4c677c4dcd7b8bee51af165693593d303d1f07420fb5d4c72f918ea')
-b2sums=('d8049a1adfaa6b278b59298e46d4697b70121d0a599a286f91720b31a06cccd39424367fe9c1ffbb90b0862a9501115f808bcc4fd36f3a09081987ad706f89bd')
+sha512sums=('0e8be7500163761a75518b002eb8ca9e41d0d073f0d03443af4a57fef07ee647de3faafaf79791328c4b2b9a6f5898e1038b310b697485a363af486f36509393')
+b2sums=('d4277dc79729e39bd63b066b12ad4d91d9457e8e7a836c2e24606f6d343c85ce59febaa0425ab10f96d8d327935beede285a5ae52cfeff37210b36b0bcaf22db')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
@@ -38,14 +38,9 @@
 package() {
   cd "$pkgname-$pkgver"
   local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies \
-              --no-user-install \
-              -i "${pkgdir}/${_gemdir}" \
-              -n "${pkgdir}/usr/bin" \
-              ${_name}-${pkgver}.gem
+  gem install --ignore-dependencies --no-user-install -i "${pkgdir}/${_gemdir}" -n "${pkgdir}/usr/bin" ${_name}-${pkgver}.gem
   install -vDm 644 MIT-LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
   # removing all unneeded stuff
   cd "${pkgdir}/${_gemdir}"
-  rm -rvf cache gems/${_name}-${pkgver}/{ext,lib/*/*.so} \
-    extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out}
+  rm -rvf cache gems/${_name}-${pkgver}/{ext,lib/*/*.so} extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out}
 }



More information about the arch-commits mailing list