1 # Maintainer: Manalishi <manalishi at freenet dot de>
4 _pkgname="${pkgname%-*}"
7 pkgdesc="A text-based application for securely storing and managing passwords"
9 url="http://pwman.sourceforge.net/"
11 makedepends=('subversion')
12 depends=('bash' 'gnupg' 'libxml2' 'ncurses')
13 provides=("${_pkgname}")
14 conflicts=("${_pkgname}")
17 _svntrunk=https://pwman.svn.sourceforge.net/svnroot/${_pkgname}/trunk/
22 if [ -d "${_svnmod}" ]; then
23 msg "Updating local SVN repository."
24 (cd "${_svnmod}" && svn up)
25 msg "SVN update done or server timeout."
27 msg "Checking out SVN repository."
28 svn co "${_svntrunk}" "${_svnmod}"
29 msg "SVN checkout done or server timeout."
32 msg "Starting make process."
34 rm -rf "${_svnmod}-build/"
35 cp -r "${_svnmod}" "${_svnmod}-build/"
36 cd "${_svnmod}-build/"
38 ./bootstrap || return 1
39 ./configure --prefix=/usr --mandir=/usr/share/man || return 1
45 cd "${srcdir}/${_svnmod}-build"
46 make DESTDIR=${pkgdir} install || return 1