[arch-commits] Commit in gnome-code-assistance/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Jul 5 15:28:09 UTC 2020


    Date: Sunday, July 5, 2020 @ 15:28:07
  Author: foxboron
Revision: 657867

upgpkg: gnome-code-assistance 1:3.16.1+15+g0fd8b5f-3

Updated to follow go package guidelines

Modified:
  gnome-code-assistance/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 15:24:24 UTC (rev 657866)
+++ PKGBUILD	2020-07-05 15:28:07 UTC (rev 657867)
@@ -2,7 +2,7 @@
 
 pkgname=gnome-code-assistance
 pkgver=3.16.1+15+g0fd8b5f
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc="Code assistance services for GNOME"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 license=(GPL3)
 depends=(libgee python-dbus python-gobject python-pylint python-pyflakes python-pycodestyle
          python-lxml python-simplejson ruby-dbus ruby-sass)
-makedepends=(intltool gobject-introspection llvm clang gjs vala go-pie gnome-common git)
+makedepends=(intltool gobject-introspection llvm clang gjs vala go gnome-common git)
 optdepends=('clang: Assistance for C and C++'
             'gjs: Assistance for JavaScript'
             #'vala: Assistance for Vala'
@@ -34,6 +34,11 @@
   cd $pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
     --libexecdir=/usr/lib --disable-vala
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
   make
 }
 


More information about the arch-commits mailing list