[arch-commits] Commit in gjs/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Feb 18 09:06:35 UTC 2020
Date: Tuesday, February 18, 2020 @ 09:06:35
Author: heftig
Revision: 375775
1.58.5-1
Modified:
gjs/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-18 08:45:00 UTC (rev 375774)
+++ PKGBUILD 2020-02-18 09:06:35 UTC (rev 375775)
@@ -2,17 +2,17 @@
# Contributor: Ionut Biru <ibiru at archlinux.org>
pkgname=gjs
-pkgver=1.58.4
-pkgrel=2
+pkgver=1.58.5
+pkgrel=1
epoch=2
pkgdesc="Javascript Bindings for GNOME"
url="https://wiki.gnome.org/Projects/Gjs"
arch=(x86_64)
license=(GPL)
-depends=(cairo gobject-introspection-runtime js60 dconf)
+depends=(cairo gobject-introspection-runtime js60 dconf readline)
makedepends=(gobject-introspection git autoconf-archive sysprof)
checkdepends=(valgrind xorg-server-xvfb)
-_commit=fed2bfb25f6ad1ae1f6035353eb298088ce4a9b4 # tags/1.58.4^0
+_commit=680fc377fd4f8a3b87836d6c7a1fa1b5074c4137 # tags/1.58.5^0
source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
sha256sums=('SKIP')
@@ -22,13 +22,14 @@
}
prepare() {
+ mkdir build
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname
- ./configure \
+ cd build
+ ../$pkgname/configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--disable-static \
@@ -38,11 +39,12 @@
}
check() {
- cd $pkgname
- xvfb-run make check
+ dbus-run-session xvfb-run \
+ -s '-screen 0 1920x1080x24 -nolisten local' \
+ make check -C build
}
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
+ depends+=(libreadline.so)
+ DESTDIR="$pkgdir" make install -C build
}
More information about the arch-commits
mailing list