[arch-commits] Commit in gnome-shell-extensions/repos (2 files)
Jan Steffens
heftig at archlinux.org
Sun Mar 8 06:00:34 UTC 2020
Date: Sunday, March 8, 2020 @ 06:00:34
Author: heftig
Revision: 376994
archrelease: copy trunk to gnome-unstable-any
Added:
gnome-shell-extensions/repos/gnome-unstable-any/
gnome-shell-extensions/repos/gnome-unstable-any/PKGBUILD
(from rev 376993, gnome-shell-extensions/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: gnome-shell-extensions/repos/gnome-unstable-any/PKGBUILD (from rev 376993, gnome-shell-extensions/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD (rev 0)
+++ gnome-unstable-any/PKGBUILD 2020-03-08 06:00:34 UTC (rev 376994)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gnome-shell-extensions
+pkgver=3.36.0
+pkgrel=1
+pkgdesc="Extensions for GNOME shell, including classic mode"
+url="https://wiki.gnome.org/Projects/GnomeShell/Extensions"
+arch=(any)
+license=(GPL)
+makedepends=(meson git sassc js68)
+optdepends=('gnome-menus: applications menu extension')
+groups=(gnome)
+_commit=961757f7172fa1bd122f4895f5b329c5d874eb6d # tags/3.36.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-shell-extensions.git#commit=$_commit"
+ "git+https://gitlab.gnome.org/GNOME/gnome-shell-sass.git")
+sha256sums=('SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git submodule set-url data/gnome-shell-sass "$srcdir/gnome-shell-sass"
+ git submodule update
+}
+
+build() {
+ arch-meson $pkgname build -D extension_set=all -D classic_mode=true
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ depends=(gnome-shell)
+
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list