[arch-commits] Commit in ruby-zeitwerk/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Jul 1 07:24:56 UTC 2020


    Date: Wednesday, July 1, 2020 @ 07:24:55
  Author: dvzrv
Revision: 657271

archrelease: copy trunk to community-any

Added:
  ruby-zeitwerk/repos/community-any/PKGBUILD
    (from rev 657270, ruby-zeitwerk/trunk/PKGBUILD)
Deleted:
  ruby-zeitwerk/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-01 07:24:50 UTC (rev 657270)
+++ PKGBUILD	2020-07-01 07:24:55 UTC (rev 657271)
@@ -1,50 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=zeitwerk
-pkgname=ruby-zeitwerk
-pkgver=2.3.0
-pkgrel=1
-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')
-# TODO: package ruby-minitest-focus
-# TODO: package 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=('e891b2fda9375f1e459dce2adc2f1b2128bd20a2f7e617ae27967b3bd0927689f5134aa42b098fdd077c089bf2debcf0a88b7b3fd89a97ac44dc9c9fbc72f14e')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # we don't do version pinning
-  sed -r 's|~>|>=|g' -i *.gemspec Gemfile Rakefile
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  gem build "${_name}.gemspec"
-}
-
-# check() {
-#   cd "$pkgname-$pkgver"
-#   rake test
-# }
-
-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
-  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}
-}

Copied: ruby-zeitwerk/repos/community-any/PKGBUILD (from rev 657270, ruby-zeitwerk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-01 07:24:55 UTC (rev 657271)
@@ -0,0 +1,50 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=zeitwerk
+pkgname=ruby-zeitwerk
+pkgver=2.3.1
+pkgrel=1
+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')
+# TODO: package ruby-minitest-focus
+# TODO: package 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=('b0f782afde6f3a60e6dc3440316689ba39542e3c9d57129a433a0ea967869ca32d79ab1c522d84091b29a698e80ced31f94c9d12592f310945c4267d1e72b5f0')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # we don't do version pinning
+  sed -r 's|~>|>=|g' -i *.gemspec Gemfile Rakefile
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  gem build "${_name}.gemspec"
+}
+
+# check() {
+#   cd "$pkgname-$pkgver"
+#   rake test
+# }
+
+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
+  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}
+}



More information about the arch-commits mailing list