[arch-commits] Commit in gjs/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Feb 18 13:11:28 UTC 2020
Date: Tuesday, February 18, 2020 @ 13:11:27
Author: heftig
Revision: 375787
archrelease: copy trunk to extra-x86_64
Added:
gjs/repos/extra-x86_64/PKGBUILD
(from rev 375785, gjs/trunk/PKGBUILD)
Deleted:
gjs/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 98 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 50 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-18 13:11:24 UTC (rev 375786)
+++ PKGBUILD 2020-02-18 13:11:27 UTC (rev 375787)
@@ -1,48 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=gjs
-pkgver=1.58.4
-pkgrel=2
-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)
-makedepends=(gobject-introspection git autoconf-archive sysprof)
-checkdepends=(valgrind xorg-server-xvfb)
-_commit=fed2bfb25f6ad1ae1f6035353eb298088ce4a9b4 # tags/1.58.4^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 \
- --libexecdir=/usr/lib \
- --disable-static \
- --enable-compile-warnings=yes
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-check() {
- cd $pkgname
- xvfb-run make check
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: gjs/repos/extra-x86_64/PKGBUILD (from rev 375785, gjs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-18 13:11:27 UTC (rev 375787)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+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 readline)
+makedepends=(gobject-introspection git autoconf-archive sysprof)
+checkdepends=(valgrind xorg-server-xvfb)
+_commit=680fc377fd4f8a3b87836d6c7a1fa1b5074c4137 # tags/1.58.5^0
+source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd build
+ ../$pkgname/configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --disable-static \
+ --enable-compile-warnings=yes
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ dbus-run-session xvfb-run \
+ -s '-screen 0 1920x1080x24 -nolisten local' \
+ make check -C build
+}
+
+package() {
+ depends+=(libreadline.so)
+ DESTDIR="$pkgdir" make install -C build
+}
More information about the arch-commits
mailing list