[arch-commits] Commit in libgit2-glib/trunk (PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Mon Jul 10 15:18:32 UTC 2017


    Date: Monday, July 10, 2017 @ 15:18:31
  Author: lfleischer
Revision: 300027

upgpkg: libgit2-glib 0.25.0-2

libgit 0.26.0 rebuild.

Modified:
  libgit2-glib/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-10 15:08:02 UTC (rev 300026)
+++ PKGBUILD	2017-07-10 15:18:31 UTC (rev 300027)
@@ -3,7 +3,7 @@
 
 pkgname=libgit2-glib
 pkgver=0.25.0
-pkgrel=1
+pkgrel=2
 pkgdesc="GLib wrapper for libgit2"
 url="http://wiki.gnome.org/Projects/Libgit2-glib"
 license=(LGPL2.1)
@@ -10,9 +10,18 @@
 arch=(i686 x86_64)
 depends=(glib2 libgit2)
 makedepends=(gobject-introspection python2 vala gtk-doc)
-source=("https://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz")
-sha256sums=('4a256b9acfb93ea70d37213a4083e2310e59b05f2c7595242fe3c239327bc565')
+source=("https://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz"
+        'https://git.gnome.org/browse/libgit2-glib/patch/?id=995b33c745085439d3cb3fed85dbfdb89cb876a9')
+sha256sums=('4a256b9acfb93ea70d37213a4083e2310e59b05f2c7595242fe3c239327bc565'
+            'd773b17e11da49a944dc13fe4ea74db7b3f6df6aee4781538d0ce18474490f7f')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # Import patch for libgit 0.26.0 compatibility.
+  patch -p1 -i '../?id=995b33c745085439d3cb3fed85dbfdb89cb876a9'
+}
+
 build() {
   cd "$pkgname-$pkgver"
 



More information about the arch-commits mailing list