updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnome-shell-zeitgeist-extension-git / PKGBUILD
blobe8b65f6db29eb281a1325938311158b0b800630d
1 # Author: Seif Lotfy
2 # Maintainer: Tobias Quinn <tobias@tobiasquinn.com>
3 pkgname=gnome-shell-zeitgeist-extension-git
4 pkgver=20111212
5 pkgrel=2
6 pkgdesc="A set of extensions for the gnome shell activities overview which use zeitgeist search results"
7 arch=('i686' 'x86_64')
8 url="https://github.com/seiflotfy/gnome-shell-zeitgeist-extension"
9 license=('GPL3')
10 depends=('gnome-shell>=3.2'
11          'libqzeitgeist'
12          'zeitgeist'
13          'zeitgeist-datahub')
14 makedepends=('git')
15 optdepends=('gnome-tweak-tool: A tool to customize advanced GNOME 3 options.'
16 'zeitgeist-extensions: Enable advanced search extensions (see aur comments for now)'
17 'zeitgeist-datasources: Zeitgeist data provider plugins or extensions for several programs.')
18 provides=('gnome-shell-zeitgeist-extension-git')
20 _gitroot="git://github.com/seiflotfy/gnome-shell-zeitgeist-extension.git"
21 _gitname="gnome-shell-zeitgeist-extension"
23 build() {
24   cd "$srcdir"
25   msg "Connecting to GIT server..."
27   if [ -d $_gitname ] ; then
28     cd $_gitname && git pull origin
29     msg "The local files are updated."
30   else
31     git clone $_gitroot $_gitname
32   fi
34   msg "GIT checkout done or server timeout"
37 package () {
38   cd ${srcdir}/${_gitname}
39   mkdir -p "${pkgdir}/usr/share/gnome-shell/extensions/"
40   cp -R "journal@gnome-shell-extensions.zeitgeist-project.com" "$pkgdir/usr/share/gnome-shell/extensions"
41   cp -R "jump-lists@gnome-shell-extensions.zeitgeist-project.com" "$pkgdir/usr/share/gnome-shell/extensions"
42   cp -R "zeitgeist-search@gnome-shell-extensions.gnome.org" "$pkgdir/usr/share/gnome-shell/extensions"
43   cp -R "smart-launcher@gnome-shell-extensions.zeitgeist-project.com" "$pkgdir/usr/share/gnome-shell/extensions"
45 # vim:set ts=2 sw=2 et: