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

Gaëtan Bisson bisson at archlinux.org
Thu Apr 2 02:25:39 UTC 2020


    Date: Thursday, April 2, 2020 @ 02:25:39
  Author: bisson
Revision: 609347

rebuild for libgit2-1.0.0

Modified:
  subsurface/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-02 00:21:33 UTC (rev 609346)
+++ PKGBUILD	2020-04-02 02:25:39 UTC (rev 609347)
@@ -4,7 +4,7 @@
 pkgname=subsurface
 _pkgname=Subsurface
 pkgver=4.9.3
-pkgrel=2
+pkgrel=3
 pkgdesc='Divelog program'
 url='https://subsurface-divelog.org/'
 license=('GPL2')
@@ -18,6 +18,14 @@
 
 # qt5-webkit still used for: printing, manual, facebook
 
+prepare() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	sed \
+		-e 's/GIT_MERGE_TREE_/GIT_MERGE_/g' \
+		-e 's/tree_flags/flags/g' \
+		-i core/git-access.c
+}
+
 build() {
 	cd "${srcdir}/${_pkgname}-${pkgver}"
 	install -d build


More information about the arch-commits mailing list