1 # Maintainer: Jekyll Wu<adaptee [at] gmail [dot com>
3 pkgname=gnome-shell-extension-ibus-panel
6 pkgdesc="A Gnome Shell extension for ibus panel "
8 url="https://github.com/tigersoldier/Gnome-Shell-IM-Panel"
12 conflicts=('ibus-gjs-git')
14 _gitroot="git://github.com/tigersoldier/Gnome-Shell-IM-Panel"
15 _gitname="Gnome-Shell-IM-Panel"
17 _uuid="gjsimp@tigersoldier"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_uuid"
34 git clone "$srcdir/$_gitname" "$srcdir/$_uuid"
37 # you do not want to include .git directory in the package
43 install -d "$pkgdir/usr/share/gnome-shell/extensions/"
44 cp -r "$_uuid" "$pkgdir/usr/share/gnome-shell/extensions/"