[arch-commits] Commit in gjs/repos (2 files)

Jan Steffens heftig at gemini.archlinux.org
Sun Oct 31 21:19:39 UTC 2021


    Date: Sunday, October 31, 2021 @ 21:19:39
  Author: heftig
Revision: 426913

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gjs/repos/gnome-unstable-x86_64/
  gjs/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 426912, gjs/trunk/PKGBUILD)

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

Copied: gjs/repos/gnome-unstable-x86_64/PKGBUILD (from rev 426912, gjs/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2021-10-31 21:19:39 UTC (rev 426913)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.70.0
+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 js78 dconf readline)
+makedepends=(gobject-introspection git meson dbus)
+checkdepends=(valgrind xorg-server-xvfb gtk3 gtk4)
+provides=(libgjs.so)
+_commit=da5d5fe74469c799de80117758d79ad694d1116a  # tags/1.70.0^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
+}
+
+build() {
+  arch-meson $pkgname build \
+    --buildtype release \
+    -D installed_tests=false \
+    -D profiler=disabled
+  meson compile -C build
+}
+
+check() {
+  xvfb-run -s '-nolisten local' \
+    meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libreadline.so)
+  meson install -C build --destdir "$pkgdir"
+}



More information about the arch-commits mailing list