[arch-commits] Commit in gjs/repos (2 files)
Jan Steffens
heftig at archlinux.org
Sat Sep 26 21:04:30 UTC 2020
Date: Saturday, September 26, 2020 @ 21:04:30
Author: heftig
Revision: 396626
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gjs/repos/gnome-unstable-x86_64/
gjs/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 396625, gjs/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: gjs/repos/gnome-unstable-x86_64/PKGBUILD (from rev 396625, gjs/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2020-09-26 21:04:30 UTC (rev 396626)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.66.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)
+provides=(libgjs.so)
+_commit=455a0177362d7fdb79395b796f6cd14e7f03c0d4 # tags/1.66.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 '-screen 0 1920x1080x24 -nolisten local' \
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ depends+=(libreadline.so)
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list