[arch-commits] Commit in lablgtk2/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Mon May 10 13:11:24 UTC 2021
Date: Monday, May 10, 2021 @ 13:11:24
Author: jgc
Revision: 414911
upgpkg: lablgtk2 2.18.11-4: Drop libglade, drop DLAGENT hack that skips HTTPS checks, force our CFLAGS/LDFLAGS
Modified:
lablgtk2/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-10 12:48:31 UTC (rev 414910)
+++ PKGBUILD 2021-05-10 13:11:24 UTC (rev 414911)
@@ -2,16 +2,15 @@
pkgname=lablgtk2
pkgver=2.18.11
-pkgrel=3
+pkgrel=4
pkgdesc="An Objective Caml interface to gtk2"
arch=(x86_64)
license=('LGPL')
url="http://lablgtk.forge.ocamlcore.org/"
depends=('gtk2' 'librsvg' 'gtksourceview2')
-makedepends=('ocaml-compiler-libs>=4.11.0' 'camlp5>=7.12' 'libglade')
+makedepends=('ocaml-compiler-libs>=4.11.0' 'camlp5>=7.12')
optdepends=('ocaml: for using the tools')
-DLAGENTS=('https::/usr/bin/curl -fLC - --insecure --retry 3 --retry-delay 3 -o %o %u')
-source=("https://github.com/garrigue/lablgtk/archive/${pkgver}.tar.gz" gcc10.patch)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/garrigue/lablgtk/archive/${pkgver}.tar.gz" gcc10.patch)
sha512sums=('adc840df68aa5f9541db44f888f344b313e40c7d8f5cd35f2a45f1bc84e7136dde4b39f873de011db5d5fdfd904c0a097cd9d105458ea9f483cdab3954a2ee05'
'0fcb9f333101c5ab04dde1729a9c9805e422f100f79ad8014a3cd8c5cb78d19344292e334d4cc70d3614a41a4e143a30cd707b67a8443fa8b6f8c8fc9d7f27d9')
options=(!makeflags staticlibs)
@@ -28,7 +27,12 @@
--without-gnomecanvas \
--without-panel \
--without-gtkspell \
- --without-gtksourceview
+ --without-gtksourceview \
+ --without-glade
+ sed -e "s|-O|$CFLAGS|" \
+ -e "s|-shared|& -ccopt \"$LDFLAGS\"|" \
+ -e "s|(CAMLMKLIB)|& -ldopt \"$LDFLAGS\"|" \
+ -i src/Makefile
make world
make opt
}
More information about the arch-commits
mailing list