[arch-commits] Commit in gjs/repos (2 files)
Jan Steffens
heftig at archlinux.org
Thu Sep 12 21:29:38 UTC 2019
Date: Thursday, September 12, 2019 @ 21:29:38
Author: heftig
Revision: 362349
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gjs/repos/gnome-unstable-x86_64/
gjs/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 362348, gjs/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: gjs/repos/gnome-unstable-x86_64/PKGBUILD (from rev 362348, gjs/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2019-09-12 21:29:38 UTC (rev 362349)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.58.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 js60 dconf)
+makedepends=(gobject-introspection git autoconf-archive sysprof)
+checkdepends=(valgrind xorg-server-xvfb)
+_commit=4318cc82de60e88b4727e25260a1bd4872093dac # tags/1.58.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
+ 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
+}
More information about the arch-commits
mailing list