1 # Maintainer: Alexander De Sousa <archaur.xandy21@spamgourmet.com>
3 pkgname="zeitgeist-datasources"
4 pkgdesc="Zeitgeist data provider plugins or extensions for several programs."
8 url="https://launchpad.net/zeitgeist-datasources"
9 license=('GPL3' 'LGPL3')
10 depends=('libzeitgeist' 'zeitgeist')
11 conflicts=('zeitgeist-datasources-bzr' 'zeitgeist-dataprovider-firefox')
12 source=(http://launchpad.net/$pkgname/${pkgver%.*.*}/${pkgver%.*}/+download/$pkgname-$pkgver.tar.gz)
13 md5sums=("67874e8f56f95f71a5af995dbe779e09")
14 sha1sums=("88392b2233932bee38623620ba9abf1e63bc61bb")
17 cd "$srcdir/$pkgname-$pkgver"
23 cd "$srcdir/$pkgname-$pkgver"
24 make DESTDIR="$pkgdir" install
26 # Move the Chrome extension to the default directory (if it was built):
27 if [ -e "$pkgdir/usr/share/opt/google/chrome/resources" ]; then
28 install -dm755 "$pkgdir/usr/lib/chromium"
29 mv "$pkgdir/usr/share/opt/google/chrome/resources" \
30 "$pkgdir/usr/lib/chromium"
31 rm -fr "$pkgdir/usr/share/opt/"
32 # Those using Chrome instead of Chromium may uncomment these lines:
33 #install -dm755 "$pkgdir/opt/chrome/resources"
34 #ln -s /usr/share/opt/google/chrome/resources/zeitgeist_plugin \
35 #"$pkgdir/opt/chrome/resources"
38 # Do the same for the Bazaar plugin:
39 if [ -e "$pkgdir/usr/share/pyshared/bzrlib/" ]; then
40 install -dm755 "$pkgdir/usr/lib/python2.7/site-packages/"
41 mv "$pkgdir/usr/share/pyshared/bzrlib/" \
42 "$pkgdir/usr/lib/python2.7/site-packages/"
43 rm -fr "$pkgdir/usr/share/pyshared/bzrlib/"
46 # Remove the Vim plugin, unfortunately the Python interpreter is disabled in
47 # our vim package (although not in the gvim one):
48 if [ -e "$pkgdir/usr/share/vim/vim72" ]; then
49 rm -fr "$pkgdir/usr/share/vim/"
50 #mv "$pkgdir/usr/share/vim/vim72" "$pkgdir/usr/share/vim/vim73"
54 # vim: set ft=sh ts=3 sw=3 tw=0: