1 # Maintainer: Brian Knox <taotetek at gmail>
6 pkgdesc="Minimalistic C client for Redis >= 1.2"
8 url="http://github.com/antirez/hiredis/"
11 makedepends=('git make')
14 _gitroot="git://github.com/antirez/hiredis.git"
20 msg "Connecting to Git server...."
22 if [ -d $_gitname ]; then
23 pushd $_gitname && git pull origin && popd
24 msg "The local files are updated"
29 msg "Git checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf $_gitname-build
33 git clone $_gitname $_gitname-build
38 cd "$srcdir/$_gitname-build"
39 make PREFIX="$pkgdir/usr" install
40 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_gitname/COPYING"