diff options
author | Kevin Majewski | 2020-02-22 20:15:34 +0100 |
---|---|---|
committer | Kevin Majewski | 2020-02-22 20:15:34 +0100 |
commit | eac63ecac4f653856096056ad994a54784cf2664 (patch) | |
tree | 87d8c439c9904efe80a37d77647546e406fbeabf | |
download | aur-eac63ecac4f653856096056ad994a54784cf2664.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e50b905f2181 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = gjs-dev + pkgdesc = Javascript Bindings for GNOME + pkgver = 1.63.91 + pkgrel = 1 + epoch = 2 + url = https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md + arch = x86_64 + license = GPL + checkdepends = valgrind + checkdepends = xorg-server-xvfb + makedepends = gobject-introspection + makedepends = git + makedepends = autoconf-archive + makedepends = sysprof + makedepends = meson + depends = cairo + depends = gobject-introspection-runtime + depends = js68 + depends = dconf + provides = gjs + conflicts = gjs + source = git+https://gitlab.gnome.org/GNOME/gjs.git#commit=016300e9a2fda5a310b4a42a487355e68491a1fa + sha512sums = SKIP + +pkgname = gjs-dev + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3465991d926f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +pkgname=gjs-dev +_pkgname=gjs +pkgver=1.63.91 +pkgrel=1 +epoch=2 +pkgdesc="Javascript Bindings for GNOME" +url="https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md" +arch=(x86_64) +license=(GPL) +depends=('cairo' 'gobject-introspection-runtime' 'js68' 'dconf') +makedepends=('gobject-introspection' 'git' 'autoconf-archive' 'sysprof' 'meson') +checkdepends=('valgrind' 'xorg-server-xvfb') +provides=('gjs') +conflicts=('gjs') +_commit=016300e9a2fda5a310b4a42a487355e68491a1fa # tags/1.63.91^0 +source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit") +sha512sums=('SKIP') + +pkgver() { + cd $_pkgname + git describe --tags | sed 's/-/+/g' +} + +build() { + arch-meson $_pkgname build + ninja -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + DESTDIR="$pkgdir" meson install -C build +} |