[arch-commits] Commit in ruby-rugged/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Fri Jun 21 13:37:21 UTC 2019


    Date: Friday, June 21, 2019 @ 13:37:21
  Author: dvzrv
Revision: 482607

archrelease: copy trunk to community-x86_64

Added:
  ruby-rugged/repos/community-x86_64/PKGBUILD
    (from rev 482606, ruby-rugged/trunk/PKGBUILD)
Deleted:
  ruby-rugged/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  142 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-21 13:37:10 UTC (rev 482606)
+++ PKGBUILD	2019-06-21 13:37:21 UTC (rev 482607)
@@ -1,71 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: ChaosKid42 <christoph.scholz at gmail.com>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-
-_name=rugged
-_libgit2_pkgver=0.28.2
-pkgname=ruby-rugged
-pkgver=0.28.0
-pkgrel=1
-pkgdesc='A Ruby binding to the libgit2 linkable library'
-arch=('x86_64')
-url="https://github.com/libgit2/rugged"
-license=('MIT')
-depends=('ruby' 'libgit2')
-makedepends=('ruby-minitest' 'ruby-rake' 'ruby-rake-compiler' 'ruby-rdoc')
-checkdepends=('git')
-options=(!emptydirs)
-source=("${_name}-${pkgver}.tar.gz::https://github.com/libgit2/${_name}/archive/v${pkgver}.tar.gz"
-        "libgit2-${_libgit2_pkgver}.tar.gz::https://github.com/libgit2/libgit2/archive/v${_libgit2_pkgver}.tar.gz")
-sha512sums=('af285b2690b3650b184403a8175d09fb33371e27f4fcc81a7106eb54224a74554717f24d507324abd7b5151d48a3227dee1e593d00dbd861c372cb65267c6725'
-            '0879c162e2e1dc00eadfbda22cd1f9d3a95b4ec2b653c108983f37c2f695140882de4d50d7cbc04ced247125a4e9fe6df16130e1267891aecdb2411d920db5c6')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-  cd ${pkgname}-${pkgver}
-  # we don't do version pinning
-  sed -r 's|~>|>=|g' -i ${_name}.gemspec
-  # remove broken and useless libgit2 "version check":
-  # https://github.com/libgit2/rugged/issues/698
-  sed '68,88d' -i ext/rugged/extconf.rb
-  # source tarball doesn't include vendored libgit2 version, which is only
-  # needed for test fixtures (resources): https://github.com/libgit2/rugged/issues/801
-  mv -v ../libgit2-${_libgit2_pkgver}/* vendor/libgit2
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  export CI_BUILD=true
-  export RUGGED_USE_SYSTEM_LIBRARIES=true
-  export CMAKE_FLAGS=" --use-system-libraries"
-  rake compile
-  rake gem
-}
-
-# we're missing the fixtures from libgit2 to run the tests
-check(){
-  cd "${pkgname}-${pkgver}"
-  # ConfigTest#test_read_global_config_file fails, if no gitconfig is set for user...
-  # https://github.com/libgit2/rugged/issues/432
-  git config --global user.name "Foo Bar"
-  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" \
-              pkg/${_name}-${pkgver}.gem
-  install -vDm 644 "$pkgdir/$_gemdir/gems/$_name-$pkgver/LICENSE" \
-    -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-  install -vDm 644 README.md CHANGELOG.md -t \
-    "${pkgdir}/usr/share/doc/${pkgname}"
-  # removing all unneeded stuff
-  cd "${pkgdir}/${_gemdir}"
-  rm -rv cache gems/${_name}-${pkgver}/{ext,lib/*/*.so} \
-    extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out} \
-    gems/${_name}-${pkgver}/vendor
-}

Copied: ruby-rugged/repos/community-x86_64/PKGBUILD (from rev 482606, ruby-rugged/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-21 13:37:21 UTC (rev 482607)
@@ -0,0 +1,71 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: ChaosKid42 <christoph.scholz at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+_name=rugged
+_libgit2_pkgver=0.28.2
+pkgname=ruby-rugged
+pkgver=0.28.2
+pkgrel=1
+pkgdesc='A Ruby binding to the libgit2 linkable library'
+arch=('x86_64')
+url="https://github.com/libgit2/rugged"
+license=('MIT')
+depends=('ruby' 'libgit2')
+makedepends=('ruby-minitest' 'ruby-rake' 'ruby-rake-compiler' 'ruby-rdoc')
+checkdepends=('git')
+options=(!emptydirs)
+source=("${_name}-${pkgver}.tar.gz::https://github.com/libgit2/${_name}/archive/v${pkgver}.tar.gz"
+        "libgit2-${_libgit2_pkgver}.tar.gz::https://github.com/libgit2/libgit2/archive/v${_libgit2_pkgver}.tar.gz")
+sha512sums=('febbccc04d16659ed6866f3c7bae0ba3a2f22937fc827535f3e99c1461b3ae22cf8d676436a09ae7c7a47f3f90eec9787a0afa776bccebc5a659b56b1f78ceed'
+            '0879c162e2e1dc00eadfbda22cd1f9d3a95b4ec2b653c108983f37c2f695140882de4d50d7cbc04ced247125a4e9fe6df16130e1267891aecdb2411d920db5c6')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
+  # we don't do version pinning
+  sed -r 's|~>|>=|g' -i ${_name}.gemspec
+  # remove broken and useless libgit2 "version check":
+  # https://github.com/libgit2/rugged/issues/698
+  sed '68,88d' -i ext/rugged/extconf.rb
+  # source tarball doesn't include vendored libgit2 version, which is only
+  # needed for test fixtures (resources): https://github.com/libgit2/rugged/issues/801
+  mv -v ../libgit2-${_libgit2_pkgver}/* vendor/libgit2
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  export CI_BUILD=true
+  export RUGGED_USE_SYSTEM_LIBRARIES=true
+  export CMAKE_FLAGS=" --use-system-libraries"
+  rake compile
+  rake gem
+}
+
+# we're missing the fixtures from libgit2 to run the tests
+check(){
+  cd "${pkgname}-${pkgver}"
+  # ConfigTest#test_read_global_config_file fails, if no gitconfig is set for user...
+  # https://github.com/libgit2/rugged/issues/432
+  git config --global user.name "Foo Bar"
+  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" \
+              pkg/${_name}-${pkgver}.gem
+  install -vDm 644 "$pkgdir/$_gemdir/gems/$_name-$pkgver/LICENSE" \
+    -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  install -vDm 644 README.md CHANGELOG.md -t \
+    "${pkgdir}/usr/share/doc/${pkgname}"
+  # removing all unneeded stuff
+  cd "${pkgdir}/${_gemdir}"
+  rm -rv cache gems/${_name}-${pkgver}/{ext,lib/*/*.so} \
+    extensions/*/*/${_name}-${pkgver}/{mkmf.log,gem_make.out} \
+    gems/${_name}-${pkgver}/vendor
+}


More information about the arch-commits mailing list