| 1 | # Contributor: Rasmus Thomsen <[email protected]> |
| 2 | maintainer="team/gnome <[email protected]>" |
| 3 | pkgname=gnome-shell-extensions |
| 4 | pkgver=51.0 |
| 5 | pkgrel=0 |
| 6 | pkgdesc="collection of extensions for GNOME Shell" |
| 7 | url="https://apps.gnome.org/Extensions" |
| 8 | arch="noarch" |
| 9 | license="GPL-2.0-or-later" |
| 10 | depends=" |
| 11 | gnome-menus |
| 12 | libgtop |
| 13 | " |
| 14 | makedepends=" |
| 15 | gettext-dev |
| 16 | glib-dev |
| 17 | meson |
| 18 | sassc |
| 19 | " |
| 20 | subpackages=" |
| 21 | $pkgname-lang |
| 22 | $pkgname-systemd |
| 23 | " |
| 24 | source="https://download.gnome.org/sources/gnome-shell-extensions/${pkgver%.*}/gnome-shell-extensions-$pkgver.tar.xz" |
| 25 | |
| 26 | build() { |
| 27 | abuild-meson \ |
| 28 | -Dextension_set=all \ |
| 29 | -Dclassic_mode=true \ |
| 30 | . output |
| 31 | meson compile -C output |
| 32 | } |
| 33 | |
| 34 | check() { |
| 35 | meson test --print-errorlogs -C output |
| 36 | } |
| 37 | |
| 38 | package() { |
| 39 | DESTDIR="$pkgdir" meson install --no-rebuild -C output |
| 40 | } |
| 41 | |
| 42 | sha512sums=" |
| 43 | 558e6e9d14cabb5f70d9c0de973c6f862daf2ed903516883ffeb21b515d711a41ec41fdad71a48cb80c170c6d46cfe107c0f9a454bbf56773c8010c9720fa3fb gnome-shell-extensions-51.0.tar.xz |
| 44 | " |