1 # Maintainer: Lucky <archlinux@builds.lucky.li>
2 # Contributor: Alexander Fehr <pizzapunk gmail com>
3 # Contributor: Philipp Giebel <arch@ambience-design.net>
4 # Contributor: teddy_beer_maniac <teddy_beer_maniac@wp.pl>
8 #_pkgname="${pkgname%-*}"
11 pkgdesc="Cross platform password manager"
12 url="http://www.keepassx.org"
14 arch=("i686" "x86_64")
15 depends=("qt" "libxtst")
16 provides=("${_pkgname}")
17 conflicts=("${_pkgname}")
19 _svntrunk="https://${_pkgname}.svn.sourceforge.net/svnroot/${_pkgname}/trunk/"
26 msg "Connecting to SVN server..."
27 if [ -d "${_svnmod}" ]; then
28 (cd "${_svnmod}" && svn update -r "385")
29 msg "The local repository was updated."
31 svn co "${_svntrunk}" "${_svnmod}" -r "385"
33 msg "SVN checkout done or server timeout."
35 if [ -d "${_svnmod}-build" ]; then
36 rm -rf "${_svnmod}-build"
38 cp -rf "${_svnmod}" "${_svnmod}-build"
42 cd "${srcdir}/${_pkgname}-build"
49 cd "${srcdir}/${_pkgname}-build"
51 make INSTALL_ROOT="${pkgdir}" install