diff options
author | Pellegrino Prevete | 2023-07-02 10:22:10 +0200 |
---|---|---|
committer | Pellegrino Prevete | 2023-07-02 10:22:10 +0200 |
commit | 78f5a5c08671a045838884d491b9aad7a178f23d (patch) | |
tree | aca2e104bec67654bfac36ad491db0a4028e6f07 /PKGBUILD | |
parent | 753cfc8632bc5fb092ebd9cec827b92231d07862 (diff) | |
download | aur-gnome-shell-extensions-git.tar.gz |
update to 44
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 57 |
1 files changed, 40 insertions, 17 deletions
@@ -1,36 +1,59 @@ -pkgname=gnome-shell-extensions-git -_pkgname=gnome-shell-extensions -pkgver=40.0+7+ge094dea +# Maintainer: Pellegrino Prevet (tallero) + +_pkg="gnome-shell" +_pkgname="${_pkg}-extensions" +pkgname="${_pkgname}-git" +pkgver=44.0+7+gb7895ad pkgrel=1 pkgdesc="Extensions for GNOME shell, including classic mode" url="https://wiki.gnome.org/Projects/GnomeShell/Extensions" arch=(any) license=(GPL) -makedepends=('meson' 'git' 'sassc' 'js78') -optdepends=('gnome-menus: applications menu extension') -provides=('gnome-shell-extensions') -conflicts=('gnome-shell-extensions') -source=("git+https://gitlab.gnome.org/GNOME/gnome-shell-extensions.git" - "git+https://gitlab.gnome.org/GNOME/gnome-shell-sass.git") +depends=( + "${_pkg}" +) +makedepends=( + git + meson + git + sassc +) +optdepends=( + 'gnome-menus: applications menu extension' +) +groups=(gnome) +provides=( + "${_pkgname}=${pkgver}" +) +conflicts=( + "${_pkgname}" +) +source=("git+https://gitlab.gnome.org/GNOME/${_pkgname}" + "git+https://gitlab.gnome.org/GNOME/${_pkg}-sass.git") b2sums=('SKIP' 'SKIP') pkgver() { - cd $_pkgname + cd "${_pkgname}" git describe --tags | sed 's/-/+/g' } prepare() { - cd $_pkgname + cd "${_pkgname}" git submodule init - git config --local submodule.data/gnome-shell-sass.url "$srcdir/gnome-shell-sass" + git config --local "submodule.data/${_pkg}-sass.url" \ + "${srcdir}/${_pkg}-sass" git submodule update } build() { - arch-meson $_pkgname build -D extension_set=all -D classic_mode=true - ninja -C build + local meson_options=( + -D extension_set=all + -D classic_mode=true + ) + arch-meson "${_pkgname}" build "${meson_options[@]}" + meson compile -C build } check() { @@ -38,7 +61,7 @@ check() { } package() { - depends=(gnome-shell) - - DESTDIR="$pkgdir" meson install -C build + meson install -C build --destdir "${pkgdir}" } + +# vim:set sw=2 sts=-1 et: |