1 #Maintainer: Juanma Hernandez <juanmah@gmail.com>
3 pkgname=gnome-shell-extension-gnome2-notifications-git
6 pkgdesc="gnome-shell-gnome2-notifications is YAGSE (Yet Another GNOME Shell extension) that tries to provide an "old-skool" gnome2 way of showing application's tray icons."
8 url="https://github.com/rcmorano/gnome-shell-gnome2-notifications"
10 depends=('gnome-shell-extensions-common>=3.2.0')
11 optdepends=('gnome-tweak-tool: A tool to customize advanced GNOME 3 options.')
12 makedepends=('git' 'gnome-common' 'intltool')
13 install='gschemas.install'
15 _gitroot="https://github.com/rcmorano/gnome-shell-gnome2-notifications"
16 _gitname="gnome-shell-gnome2-notifications"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
32 _extpath="$pkgdir/usr/share/gnome-shell/extensions"
33 _extname="gnome-shell-classic-systray@emergya.com"
36 mkdir -p "$_extpath/$_extname"
37 cd "$srcdir/$_gitname/$_extname"
38 sed -i -e "s|3.2.0|3.2.1|" metadata.json
39 cp extension.js metadata.json "$_extpath/$_extname"