1 # Contributor: Olivier Mehani <shtrom-arch@ssji.net>
2 # $Id: PKGBUILD 299 2011-09-26 13:29:51Z shtrom $
3 pkgname=monkeysphere-git
6 pkgdesc="Leverage the OpenPGP web of trust for OpenSSH and Web authentication"
8 url="http://web.monkeysphere.info/"
10 depends=(gnupg lockfile-progs perl-crypt-openssl-rsa perl-digest-sha1)
12 provides=(monkeysphere)
13 conflicts=(monkeysphere)
14 install=monkeysphere.install
16 _gitroot="git://git.monkeysphere.info/monkeysphere"
17 _gitname="monkeysphere"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 make DESTDIR="$pkgdir/" install
38 mkdir -p $pkgdir/var/lib/monkeysphere