1 # Maintainer: Daniel Mendler <mail at daniel-mendler.de>
2 # Contributor: Daniel Mendler <mail at daniel-mendler.de>
6 pkgdesc='Curses based password manager using PGP-encryption'
8 url='http://github.com/comotion/cpm'
10 depends=(dotconf libxml2 gpgme)
11 makedepends=(git libcdk)
13 _gitroot='git://github.com/comotion/cpm.git'
18 msg 'Connecting to GIT server....'
20 if [ -d $_gitname ] ; then
21 (cd $_gitname; git pull origin)
22 msg 'The local files are updated.'
24 git clone $_gitroot $_gitname
27 msg 'GIT checkout done or server timeout'
30 ./configure --prefix=/usr --with-cracklib-dict=/usr/share/cracklib/pw_dict
36 install -D -m755 cpm $pkgdir/usr/bin/cpm
42 sed "s|$2[^=]*=.*|$2=$3|" "$tmp" > "$1"