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

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


    Date: Sunday, July 5, 2020 @ 15:28:17
  Author: foxboron
Revision: 657868

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 15:28:07 UTC (rev 657867)
+++ PKGBUILD	2020-07-05 15:28:17 UTC (rev 657868)
@@ -1,43 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=gnome-code-assistance
-pkgver=3.16.1+15+g0fd8b5f
-pkgrel=2
-epoch=1
-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 vala go-pie gnome-common git)
-optdepends=('clang: Assistance for C and C++'
-            'gjs: Assistance for JavaScript'
-            #'vala: Assistance for Vala'
-            'go: Assistance for Go')
-groups=(gnome-extra)
-_commit=0fd8b5f705fb7c88e6a8f9deaad30585df634bf4  # wip/lantw/update-llvm-and-vala-versions
-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
-  make
-}
-
-package(){
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}

Copied: gnome-code-assistance/repos/community-x86_64/PKGBUILD (from rev 657867, gnome-code-assistance/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-05 15:28:17 UTC (rev 657868)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-code-assistance
+pkgver=3.16.1+15+g0fd8b5f
+pkgrel=3
+epoch=1
+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 vala go gnome-common git)
+optdepends=('clang: Assistance for C and C++'
+            'gjs: Assistance for JavaScript'
+            #'vala: Assistance for Vala'
+            'go: Assistance for Go')
+groups=(gnome-extra)
+_commit=0fd8b5f705fb7c88e6a8f9deaad30585df634bf4  # wip/lantw/update-llvm-and-vala-versions
+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"
+  make
+}
+
+package(){
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list