diff --git a/srcpkgs/gnome-shell/template b/srcpkgs/gnome-shell/template index 0fb12cfa46..d62240aeea 100644 --- a/srcpkgs/gnome-shell/template +++ b/srcpkgs/gnome-shell/template @@ -1,6 +1,6 @@ # Template file for 'gnome-shell' pkgname=gnome-shell -version=40.2 +version=40.3 revision=1 build_style=meson build_helper=gir @@ -20,17 +20,12 @@ short_desc="GNOME core user interface" maintainer="Enno Boland " license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Projects/GnomeShell" -changelog="https://raw.githubusercontent.com/GNOME/gnome-shell/gnome-3-38/NEWS" -distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=4e9d829b039fa0add33bb6583fc7b4e028ed8dcff7af8a577e09cc66988c281c -_xdg_runtime_dir="/tmp/gnome-shell-xdg" +changelog="https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/gnome-40/NEWS" +distfiles="${GNOME_SITE}/gnome-shell/${version%.*}/gnome-shell-${version}.tar.xz" +checksum=7ab10c6ee9699828dd721ebf8ce1de464dcaaa91d495823bf4b84c89399e8c2b -pre_check() { - mkdir "$_xdg_runtime_dir" - export XDG_RUNTIME_DIR="$_xdg_runtime_dir" - make_cmd="xvfb-run ninja" -} - -post_check() { - rm -r "$_xdg_runtime_dir" +do_check() { + mkdir /tmp/gnome-shell-xdg + XDG_RUNTIME_DIR=/tmp xvfb-run ninja -C build test + rm -rf /tmp/gnome-shell-xdg }