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

David Runge dvzrv at archlinux.org
Thu Aug 15 20:07:08 UTC 2019


    Date: Thursday, August 15, 2019 @ 20:07:07
  Author: dvzrv
Revision: 499635

upgpkg: ruby-rugged 0.28.3.1-1

Upgrading to 0.28.3.1. The broken version string has been fixed upstream.

Modified:
  ruby-rugged/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-15 19:54:31 UTC (rev 499634)
+++ PKGBUILD	2019-08-15 20:07:07 UTC (rev 499635)
@@ -6,7 +6,7 @@
 # ideally this should match $pkgver, as package() might fail otherwise. thanks, github
 _libgit2_pkgver=0.28.3
 pkgname=ruby-rugged
-pkgver=0.28.3
+pkgver=0.28.3.1
 pkgrel=1
 pkgdesc='A Ruby binding to the libgit2 linkable library'
 arch=('x86_64')
@@ -18,7 +18,7 @@
 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=('f377653fb84326968f1126177b0cc6279da5e5f74529605087af7b0c481d203c22d89ca26105dc871ce197c1f91c7fa03cae24fb20d14b65f7002ec017a0e4fe'
+sha512sums=('c0c79e3d9a59acd70069a693d89e75eb98d1f0defe0f8162f8c47e449daeddb5ebf27337b0617cd37fdc8652d64f400e7de139375a13b7ab4ad426ea30634df7'
             '15444823b7d4885f7b8c3982f8905efc4a75913de016a9b2e0a24d5ce9746e6a549dffd5469036529557feff2ce7ece9328266eb312c80b96091ce0f65ee97ee')
 
 prepare() {
@@ -29,9 +29,6 @@
   # remove broken and useless libgit2 "version check":
   # https://github.com/libgit2/rugged/issues/698
   sed '68,88d' -i ext/rugged/extconf.rb
-  # imported version is wrong:
-  # https://github.com/libgit2/rugged/issues/776#issuecomment-521234453
-  sed -E "s|(VERSION =) .+|\1 '${pkgver}'|" -i lib/rugged/version.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



More information about the arch-commits mailing list