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

David Runge dvzrv at archlinux.org
Wed Dec 11 09:46:00 UTC 2019


    Date: Wednesday, December 11, 2019 @ 09:46:00
  Author: dvzrv
Revision: 370664

upgpkg: libgit2 1:0.28.4-1

Upgrading to 0.28.4. Removing (now included) patch to fix tests.
Simplifying the cmake call.

Modified:
  libgit2/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++-------------------
 1 file changed, 8 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-11 09:45:55 UTC (rev 370663)
+++ PKGBUILD	2019-12-11 09:46:00 UTC (rev 370664)
@@ -1,10 +1,10 @@
 # Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: David Runge <dave at sleepmap.de>
+# Contributor: David Runge <dvzrv at archlinux.org>
 # Contributor: Hilton Medeiros <medeiros.hilton at gmail.com>
 # Contributor: Dave Reisner <d at falconindy.com>
 
 pkgname=libgit2
-pkgver=0.28.3
+pkgver=0.28.4
 pkgrel=1
 epoch=1
 pkgdesc='A linkable library for Git'
@@ -14,26 +14,15 @@
 makedepends=('cmake' 'python')
 provides=('libgit2.so')
 license=('GPL2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/libgit2/libgit2/archive/v${pkgver}.tar.gz"
-        "${pkgname}-0.28.2-online-tests.patch::https://github.com/libgit2/libgit2/pull/5094.patch")
-sha256sums=('ee5344730fe11ce7c86646e19c2d257757be293f5a567548d398fb3af8b8e53b'
-            '0d1d5ceaae10a9dc17894b8f13e957b463e5f5ccde13dc57f19dbc80f5d89de8')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/libgit2/libgit2/archive/v${pkgver}.tar.gz")
+sha256sums=('30f3877469d09f2e4a21be933b4e2800560d16646028dd800744dc5f7fb0c749')
 
-prepare() {
-  cd "$pkgname-$pkgver"
-  mkdir -p build
-  # fix online tests: https://github.com/libgit2/libgit2/pull/5094
-  patch -Np1 -i "../${pkgname}-0.28.2-online-tests.patch"
-}
-
 build() {
   cd "$pkgname-$pkgver"
-  (
-    cd build
-    cmake -DCMAKE_INSTALL_PREFIX=/usr \
-          -DCMAKE_BUILD_TYPE=Release \
-          ..
-  )
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=Release \
+        -B build \
+        -S .
   make -C build VERBOSE=1
 }
 



More information about the arch-commits mailing list