blob: 1f5dfa5d900027cc8283948427b3f50d21503b2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Justin Dray <justin@dray.be>
# Contributor: surefire@cryptomile.net
_srcname=Tray-Icons-Reloaded
pkgname=gnome-shell-extension-tray-icons-reloaded-git
pkgver=11+0+g3d726e0
pkgrel=1
pkgdesc="Shows legacy tray icons on top."
arch=('any')
url="https://extensions.gnome.org/extension/1031/topicons/"
license=('GPL')
depends=('gnome-shell')
makedepends=('git')
conflicts=('gnome-shell-extension-tray-icons-reloaded')
provides=('gnome-shell-extension-tray-icons-reloaded')
groups=('gnome-shell-extensions')
source=("git+https://github.com/MartinPL/${_srcname}.git")
sha256sums=('SKIP')
pkgver() {
cd "${_srcname}"
git describe --tags --long | sed 's/^v//; s/-/+/g'
}
package() {
cd "${_srcname}"
local uuid=$(grep -Po '(?<="uuid": ")[^"]*' metadata.json)
local destdir="$pkgdir/usr/share/gnome-shell/extensions/$uuid"
install -dm755 "$destdir"
cp -r * "$destdir"
}
|