Date: Tuesday, October 25, 2022 @ 22:32:00
Author: heftig
Revision: 459015
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 459014, gnome-shell-extensions/trunk/PKGBUILD)
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Copied: gnome-shell-extensions/repos/gnome-unstable-any/PKGBUILD (from rev
459014, gnome-shell-extensions/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD (rev 0)
+++ gnome-unstable-any/PKGBUILD 2022-10-25 22:32:00 UTC (rev 459015)
@@ -0,0 +1,52 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgname=gnome-shell-extensions
+pkgver=43.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=(meson git sassc)
+optdepends=('gnome-menus: applications menu extension')
+groups=(gnome)
+_commit=6ebb41b1e819b57aa6d84911e64329dbeec9a588 # tags/43.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 config --global protocol.file.allow always
+ git submodule init
+ git submodule set-url data/gnome-shell-sass "$srcdir/gnome-shell-sass"
+ git 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: