# Maintainer: Jan Alexander Steffens (heftig) 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: