[arch-commits] Commit in gjs/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Oct 10 23:26:20 UTC 2021


    Date: Sunday, October 10, 2021 @ 23:26:19
  Author: foutrelis
Revision: 425776

archrelease: copy trunk to staging-x86_64

Added:
  gjs/repos/staging-x86_64/
  gjs/repos/staging-x86_64/PKGBUILD
    (from rev 425775, gjs/trunk/PKGBUILD)

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

Copied: gjs/repos/staging-x86_64/PKGBUILD (from rev 425775, gjs/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-10-10 23:26:19 UTC (rev 425776)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.68.3
+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 js78 dconf readline)
+makedepends=(gobject-introspection git meson dbus)
+checkdepends=(valgrind xorg-server-xvfb gtk3 gtk4)
+provides=(libgjs.so)
+_commit=44999624184db531715fcf65721c1882b4a748bc  # tags/1.68.3^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