blob: fb9bfe00138d47f747d825fcdc980b7bd23a70e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $Id: PKGBUILD 48646 2011-06-03 17:05:43Z stephane $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Alexander Fehr <pizzapunk gmail com>
pkgname=tracker
pkgver=0.10.15
pkgrel=2
pkgdesc="Powerful object database, tag/metadata database, search tool and indexer"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org/projects/tracker/"
license=('GPL')
depends=('upower' 'poppler-glib' 'gstreamer0.10-base' 'libgee' 'gnome-desktop' 'libnotify' 'xdg-utils' 'gtkhtml'
'libgsf' 'gnome-panel-bonobo' 'exempi' 'networkmanager')
makedepends=('intltool' 'gnome-panel' 'nautilus' 'evolution' 'totem-plparser' 'icu')
optdepends=('nautilus'
'enca'
'gtkhtml'
'gnome-panel'
'totem-plparser'
'icu'
'taglib'
'giflib')
options=('!libtool')
conflicts=('libtracker')
provides=("libtracker")
install=tracker.install
source=(http://ftp.gnome.org/pub/GNOME/sources/tracker/0.10/tracker-$pkgver.tar.bz2)
md5sums=('c948ef3988b08e81cad3ff980b17a0fd')
build() {
cd "$srcdir/$pkgname-$pkgver"
# python2 fix
export PYTHON=`which python2`
for file in tests/functional-tests/*.py; do
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
done
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/$pkgname \
--enable-video-extractor=gstreamer --disable-unac --disable-hal \
--disable-devkit-power --disable-miner-evolution
touch docs/manpages/tracker-search-bar.1
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
|