gnome-shell-extension-hide-.../PKGBUILD

38 lines
1 KiB
Text
Raw Normal View History

2025-09-01 22:05:45 +02:00
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
pkgname=gnome-shell-extension-hide-universal-access
pkgver=48
pkgrel=1
pkgdesc="A GNOME Shell extension to hide Universal Access icon from the status bar."
arch=('any')
url="https://github.com/akiirui/hide-universal-access"
license=(
GPL-3.0-or-later
)
depends=(
'gnome-shell>=1:46'
)
makedepends=(
git
)
conflicts=(
gnome-shell-extension-hide-universal-access-git
)
source=("$pkgname-$pkgver::git+$url.git#tag=${pkgver}?signed")
validpgpkeys=(
'4069FD7E2EB1BBEA34FB39FC94E976626C884E53' # Akatsuki Rui <imaykiller@gmail.com>
)
sha256sums=('70442a3c493b91cc8c59d196ceda095418c8fd689274eb0c5c80ef5fe901dcce')
package() {
cd $pkgname-$pkgver
local uuid
uuid=$(grep -Po '(?<="uuid": ")[^"]*' metadata.json)
local destdir="$pkgdir/usr/share/gnome-shell/extensions/$uuid"
find . -regextype posix-egrep -regex ".*\.(js|json)$" -exec\
install -Dm0644 {} "$destdir"/{} \;
install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
}
# vim: set ft=sh ts=4 sw=4 et: