2 # by jungo; n10101010@gmail.com
7 pkgdesc="Password Manager Application"
8 url="https://github.com/dancingrobot84/passmate"
10 license=('The BSD 3-Clause License')
11 depends=('pcre>=8.12' 'openssl>=1.0.0.d' 'qt>=4.7.2')
12 makedepends=('git' 'cmake')
13 conflicts=('passmate')
14 provides=('passmate-git')
16 _gitroot="git://github.com/dancingrobot84/passmate.git"
22 msg "Connecting to the git repository..."
23 if [ -d ${srcdir}/${_gitname} ]; then
27 git clone --depth 1 ${_gitroot}
29 msg "GIT checkout done or server timeout"
31 rm -rf ${srcdir}/${_gitname}-build
32 cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
33 cd ${srcdir}/${_gitname}-build
35 msg "Configuring with cmake"
38 cmake -DCMAKE_BUILD_TYPE=Release -DWITH_CLI=1 -DWITH_QT=1 ..
40 msg "Starting make..."
42 make DESTDIR=${pkgdir} install || return 1