[arch-commits] Commit in gjs/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2017-12-05 Thread Jan de Groot via arch-commits
Date: Tuesday, December 5, 2017 @ 22:46:03
  Author: jgc
Revision: 311667

archrelease: copy trunk to testing-x86_64

Added:
  gjs/repos/testing-x86_64/
  gjs/repos/testing-x86_64/PKGBUILD
(from rev 311666, gjs/trunk/PKGBUILD)

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

Copied: gjs/repos/testing-x86_64/PKGBUILD (from rev 311666, gjs/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-12-05 22:46:03 UTC (rev 311667)
@@ -0,0 +1,44 @@
+# $Id$
+# Contributor: Ionut Biru 
+
+pkgname=gjs
+pkgver=1.50.2+8+gb65c785
+pkgrel=1
+pkgdesc="Javascript Bindings for GNOME"
+url="https://wiki.gnome.org/Projects/Gjs;
+arch=(x86_64)
+license=(GPL)
+depends=(cairo gobject-introspection-runtime js52 gtk3)
+makedepends=(gobject-introspection git autoconf-archive xorg-server-xvfb)
+checkdepends=(valgrind)
+_commit=b65c7851e55b8e355de6d0f582da0e3de1ae6f9a  # gnome-3-26
+source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit;)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  git revert -n 05810c9ac9dce102ae18752060123f9a921589f5
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --disable-static --libexecdir=/usr/lib 
--with-xvfb-tests
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make -j1 check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in gjs/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2017-11-16 Thread Jan Steffens
Date: Thursday, November 16, 2017 @ 15:04:31
  Author: heftig
Revision: 310054

archrelease: copy trunk to testing-x86_64

Added:
  gjs/repos/testing-x86_64/
  gjs/repos/testing-x86_64/PKGBUILD
(from rev 310053, gjs/trunk/PKGBUILD)

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

Copied: gjs/repos/testing-x86_64/PKGBUILD (from rev 310053, gjs/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-11-16 15:04:31 UTC (rev 310054)
@@ -0,0 +1,43 @@
+# $Id$
+# Contributor: Ionut Biru 
+
+pkgname=gjs
+pkgver=1.50.2
+pkgrel=1
+pkgdesc="Javascript Bindings for GNOME"
+url="https://wiki.gnome.org/Projects/Gjs;
+arch=(x86_64)
+license=(GPL)
+depends=(cairo gobject-introspection-runtime js52 gtk3)
+makedepends=(gobject-introspection git autoconf-archive xorg-server-xvfb)
+checkdepends=(valgrind)
+_commit=9a97b89ac410091466961d8430ff4da399b83bbe  # tags/1.50.2^0
+source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit;)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --disable-static --libexecdir=/usr/lib 
--with-xvfb-tests
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}