1 # Maintainer: Pi3R1k <pierrick.brun at gmail dot com>
2 pkgname=gnome-shell-extension-window-buttons-git
5 pkgdesc="Extension which puts minimize, maximize and close buttons in the top panel."
7 url="https://github.com/biox/Gnome-Shell-Window-Buttons-Extension"
9 depends=('gnome-shell')
10 makedepends=('git' 'intltool' 'gnome-common')
11 install='gschemas.install'
13 _gitroot="https://github.com/biox/Gnome-Shell-Window-Buttons-Extension.git"
14 _gitname="gnome-shell-extension-window-buttons"
18 msg "Connecting to the GIT server..."
19 if [[ -d ${srcdir}/${_gitname} ]] ; then
22 msg "The local files are updated..."
24 git clone ${_gitroot} ${_gitname}
27 msg "GIT checkout done."
28 mkdir -p $pkgdir/usr/share/glib-2.0/schemas/
29 mkdir -p $pkgdir/usr/share/gnome-shell/extensions/
30 cp org.gnome.shell.extensions.window-buttons.gschema.xml $pkgdir/usr/share/glib-2.0/schemas/
31 cp -R window_buttons@biox.github.com $pkgdir/usr/share/gnome-shell/extensions/