Date: Wednesday, September 21, 2016 @ 12:39:53 Author: jgc Revision: 276802
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 276801, gjs/trunk/PKGBUILD) gjs/repos/gnome-unstable-x86_64/ gjs/repos/gnome-unstable-x86_64/PKGBUILD (from rev 276801, gjs/trunk/PKGBUILD) --------------------------------+ gnome-unstable-i686/PKGBUILD | 44 +++++++++++++++++++++++++++++++++++++++ gnome-unstable-x86_64/PKGBUILD | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) Copied: gjs/repos/gnome-unstable-i686/PKGBUILD (from rev 276801, gjs/trunk/PKGBUILD) =================================================================== --- gnome-unstable-i686/PKGBUILD (rev 0) +++ gnome-unstable-i686/PKGBUILD 2016-09-21 12:39:53 UTC (rev 276802) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> + +pkgname=gjs +pkgver=1.46.0 +pkgrel=1 +pkgdesc="Javascript Bindings for GNOME" +arch=(i686 x86_64) +url="http://live.gnome.org/Gjs" +license=(GPL) +depends=(cairo gobject-introspection-runtime 'js>=24.2.0' 'gtk3') +makedepends=('gobject-introspection' 'git' 'gnome-common') +_commit=caeb97adf1f3de02fe5c9d0cd3c1434999a1a6ce +source=("git://git.gnome.org/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 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +check() { + cd $pkgname + # Needs a display + make -k check || : +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} Copied: gjs/repos/gnome-unstable-x86_64/PKGBUILD (from rev 276801, gjs/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2016-09-21 12:39:53 UTC (rev 276802) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> + +pkgname=gjs +pkgver=1.46.0 +pkgrel=1 +pkgdesc="Javascript Bindings for GNOME" +arch=(i686 x86_64) +url="http://live.gnome.org/Gjs" +license=(GPL) +depends=(cairo gobject-introspection-runtime 'js>=24.2.0' 'gtk3') +makedepends=('gobject-introspection' 'git' 'gnome-common') +_commit=caeb97adf1f3de02fe5c9d0cd3c1434999a1a6ce +source=("git://git.gnome.org/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 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +check() { + cd $pkgname + # Needs a display + make -k check || : +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +}