1 # Maintainer: sanderd17 <sanderd17[AT]gmail[DOT]com>
2 # Author: sanderd17 <sanderd17[AT]gmail[DOT]com>
4 pkgname=gnome-shell-extension-package-installer-git
7 pkgdesc="Install packages directly from the Gnome-Shell overview."
9 url="https://gitorious.org/gnome-shell-extension-application-installer"
11 depends=('packer' 'package-query' 'gnome-shell>=3.2')
21 _gitroot="git://git.gitorious.org/gnome-shell-extension-application-installer/gnome-shell-extension-application-installer.git"
22 _gitname="gnome-shell-extension-application-installer.git"
28 msg "Connecting to GIT server...."
30 if [ -d $_gitname ] ; then
31 cd $_gitname && git pull origin
32 msg "The local files are updated."
34 git clone $_gitroot $_gitname
37 msg "GIT checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_gitname-build"
41 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
42 cd "$srcdir/$_gitname-build"
44 mkdir -p ${pkgdir}/usr/share/gnome-shell/extensions/installer@sanderd17.gmail.com
46 mv ${srcdir}/${_gitname}-build/* ${pkgdir}/usr/share/gnome-shell/extensions/installer@sanderd17.gmail.com