1 # Contributor: Bernhard Walle <bernhard@bwalle.de>
7 pkgdesc="Password manager in Qt - Mercurial version"
8 url="http://qpamat.berlios.de"
14 arch=('i686' 'x86_64')
18 _gitroot="git://git.berlios.de/qpamat"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 echo $_gitroot $_gitname
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
42 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
44 make DESTDIR=$pkgdir install