[arch-commits] Commit in gnome-code-assistance/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 23:36:11 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:36:11
  Author: felixonmars
Revision: 1063170

archrelease: copy trunk to community-staging-x86_64

Added:
  gnome-code-assistance/repos/community-staging-x86_64/
  gnome-code-assistance/repos/community-staging-x86_64/PKGBUILD
    (from rev 1063168, gnome-code-assistance/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: gnome-code-assistance/repos/community-staging-x86_64/PKGBUILD (from rev 1063168, gnome-code-assistance/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-02 23:36:11 UTC (rev 1063170)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-code-assistance
+pkgver=3.16.1+14+gaad6437
+pkgrel=2
+epoch=2
+pkgdesc="Code assistance services for GNOME"
+arch=(x86_64)
+url="https://wiki.gnome.org/Projects/CodeAssistance"
+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 go gnome-common git)
+optdepends=('clang: Assistance for C and C++'
+            'gjs: Assistance for JavaScript'
+            'go: Assistance for Go')
+groups=(gnome-extra)
+_commit=aad6437571461d35fe86c34a97f264e9bd7720c3  # master
+source=("git+https://gitlab.gnome.org/GNOME/gnome-code-assistance.git#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  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"
+  export GO111MODULE=off
+  make
+}
+
+package(){
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list