1 # Maintainer: Christophe Gueret <christophe.gueret@gmail.com>
5 pkgdesc="RedStore is a lightweight RDF triplestore written in C using the Redland library."
7 url="http://www.aelius.com/njh/redstore/"
9 depends=('rasqal>=0.9.25' 'redland>=1.0.14' 'raptor>=2.0.1')
11 conflicts=('redstore')
14 _gitroot="git://github.com/njh/redstore.git"
15 _gitname="redstore-git"
19 msg "Connecting to GIT server...."
21 if [[ -d "$_gitname" ]]; then
22 cd "$_gitname" && git pull origin
23 msg "The local files are updated."
25 git clone "$_gitroot" "$_gitname"
28 msg "GIT checkout done or server timeout"
29 msg "Starting build..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
39 ./configure --prefix=/usr
44 cd "$srcdir/$_gitname-build"
45 make DESTDIR="$pkgdir/" install
48 # vim:set ts=2 sw=2 et: