1 #Maintainer: Gabriel Martinez <reitaka at gmail dot com>
6 pkgdesc="A stylish front-end to your desktop search"
9 depends=('python' 'gnome-desktop' 'libbeagle')
10 makedepends=('bzr' 'gnome-common' 'intltool' 'pkgconfig')
12 #conflicts=(${_realname})
14 #install=affinity.install
15 url="http://affinity.wikidot.com/"
19 _bzrbranch=lp:affinity
24 msg "Connecting to BZR server..."
26 if [ -d ${srcdir}/${_bzrname} ] ; then
27 cd ${_bzrname} && bzr pull ${_bzrbranch}
28 msg "Local repository updated."
32 #bzr branch ${_bzrbranch} -q -r ${pkgver}
35 msg "BZR checkout done or server timeout"
37 msg "Applying patches..."
38 patch -p0 < ${startdir}/beagle_query.patch
40 msg "Removing old build directory..."
41 rm -Irf ${srcdir}/${_bzrname}-build
43 msg "Creating new build directory..."
44 cp -r ${srcdir}/${_bzrname} ${srcdir}/${_bzrname}-build
46 cd ${srcdir}/${_bzrname}-build
48 msg "Beginning build..."
50 ./autogen.sh --prefix=/usr
52 make DESTDIR=${pkgdir} install || return 1
55 # vim:set ts=2 sw=2 et: