1 # Maintainer: Denis Martinez <deuns.martinez AT gmail.com>
2 # Contributor: Martin Peres <martin.peres AT ensi-bourges.fr>
4 pkgname=ppasskeeper-git
7 pkgdesc="PPasskeeper is a library that means to create a portable password-storing interface."
8 url="http://ppasskeeper.mupuf.org/"
11 makedepends=('subversion')
12 optdepends=('qt: PPassKeeper GUI and Qt plugin'
14 'gnome-keyring: GNOME plugin'
15 'kdebase-runtime: KDE plugin')
17 arch=('i686' 'x86_64')
22 _gitroot="git://gitorious.org/ppasskeeper/ppasskeeper.git"
23 _gitname="ppasskeeper"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
33 git clone $_gitroot $_gitname
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf "$srcdir/$_gitname-build"
40 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
43 mkdir -p build && cd build
44 cmake -DCMAKE_INSTALL_PREFIX=/usr -DPPK_ELEKTRA=OFF .. || return 1
47 make DESTDIR="$pkgdir" install || return 1