Date: Saturday, April 29, 2023 @ 00:22:03
Author: heftig
Revision: 475347
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 475346, gnome-shell-extensions/trunk/PKGBUILD)
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
Copied: gnome-shell-extensions/repos/gnome-unstable-any/PKGBUILD (from rev
475346, gnome-shell-extensions/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD (rev 0)
+++ gnome-unstable-any/PKGBUILD 2023-04-29 00:22:03 UTC (rev 475347)
@@ -0,0 +1,57 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgname=gnome-shell-extensions
+pkgver=44.0
+pkgrel=1
+pkgdesc="Extensions for GNOME shell, including classic mode"
+url="https://wiki.gnome.org/Projects/GnomeShell/Extensions"
+arch=(any)
+license=(GPL)
+depends=(gnome-shell)
+makedepends=(
+ git
+ meson
+ sassc
+)
+optdepends=('gnome-menus: applications menu extension')
+groups=(gnome)
+_commit=58b4b3c8d6c48432c81c4070829b29db5950a9cb # tags/44.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/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git submodule set-url data/gnome-shell-sass "$srcdir/gnome-shell-sass"
+ git -c protocol.file.allow=always submodule update
+}
+
+build() {
+ local meson_options=(
+ -D extension_set=all
+ -D classic_mode=true
+ )
+
+ arch-meson $pkgname build "${meson_options[@]}"
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: