[arch-commits] Commit in gjs/repos (4 files)
Jan Steffens
heftig at archlinux.org
Fri Sep 15 10:03:14 UTC 2017
Date: Friday, September 15, 2017 @ 10:03:13
Author: heftig
Revision: 305585
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
gjs/repos/gnome-unstable-i686/
gjs/repos/gnome-unstable-i686/PKGBUILD
(from rev 305584, gjs/trunk/PKGBUILD)
gjs/repos/gnome-unstable-x86_64/
gjs/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 305584, gjs/trunk/PKGBUILD)
--------------------------------+
gnome-unstable-i686/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
Copied: gjs/repos/gnome-unstable-i686/PKGBUILD (from rev 305584, gjs/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2017-09-15 10:03:13 UTC (rev 305585)
@@ -0,0 +1,43 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.50.0
+pkgrel=1
+pkgdesc="Javascript Bindings for GNOME"
+url="https://wiki.gnome.org/Projects/Gjs"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(cairo gobject-introspection-runtime js52 gtk3)
+makedepends=(gobject-introspection git autoconf-archive xorg-server-xvfb)
+checkdepends=(valgrind)
+_commit=b3e2deba5a96307b5f02fd62906bc0c5bc4c70f1 # tags/1.50.0^0
+source=("git+https://git.gnome.org/browse/gjs#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
+}
Copied: gjs/repos/gnome-unstable-x86_64/PKGBUILD (from rev 305584, gjs/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2017-09-15 10:03:13 UTC (rev 305585)
@@ -0,0 +1,43 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.50.0
+pkgrel=1
+pkgdesc="Javascript Bindings for GNOME"
+url="https://wiki.gnome.org/Projects/Gjs"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(cairo gobject-introspection-runtime js52 gtk3)
+makedepends=(gobject-introspection git autoconf-archive xorg-server-xvfb)
+checkdepends=(valgrind)
+_commit=b3e2deba5a96307b5f02fd62906bc0c5bc4c70f1 # tags/1.50.0^0
+source=("git+https://git.gnome.org/browse/gjs#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
+}
More information about the arch-commits
mailing list