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

Jürgen Hötzel juergen at archlinux.org
Mon May 18 17:40:34 UTC 2020


    Date: Monday, May 18, 2020 @ 17:40:34
  Author: juergen
Revision: 629578

Rebuild/Update to OCaml 4.10.0

Modified:
  lablgtk3/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-18 17:39:43 UTC (rev 629577)
+++ PKGBUILD	2020-05-18 17:40:34 UTC (rev 629578)
@@ -1,8 +1,8 @@
 # Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
 
 pkgname=lablgtk3
-pkgver=3.0.beta6
-pkgrel=3
+pkgver=3.1.0
+pkgrel=1
 pkgdesc="An Objective Caml interface to gtk3"
 arch=('x86_64')
 license=('LGPL')
@@ -10,19 +10,13 @@
 depends=('gtk3' 'gtksourceview3' 'gtkspell3' 'ocaml-cairo')
 makedepends=('ocaml-compiler-libs>=4.0.9' 'ocaml-findlib' 'dune')
 optdepends=('ocaml: for using the tools')
-source=("https://github.com/garrigue/lablgtk/releases/download/${pkgver}/${pkgname}-${pkgver}.tbz"
-        "0001-disable-warn-error-on-Obj.truncate.patch")
-sha256sums=('4014ac73afd502cfce862fc65a3c77372fb191a8f317d6803f1a9372172bd1ca'
-            '22713c672519f7cdb67ba61e2b975504c8b740ca9e6728e52389978dd672270b')
+source=("https://github.com/garrigue/lablgtk/releases/download/${pkgver}/${pkgname}-${pkgver}.tbz")
+sha256sums=('5b1fb2d7618c050995fdeeb15ac3d552abcafa26db66daac3488f1f93826c0ba')
 
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -p1 < "${srcdir}"/0001-disable-warn-error-on-Obj.truncate.patch
-}
-
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  dune build -p lablgtk3,lablgtk3-gtkspell3,lablgtk3-sourceview3
+  # gcc-10 workaround
+  LABLGTK_EXTRA_FLAGS=-fcommon dune build -p lablgtk3,lablgtk3-gtkspell3,lablgtk3-sourceview3
 }
 
 package() {


More information about the arch-commits mailing list