Initial commit
This commit is contained in:
commit
27d6bfab34
9 changed files with 222 additions and 0 deletions
37
PKGBUILD
Normal file
37
PKGBUILD
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# 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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue