# $Id: PKGBUILD 86727 2013-03-21 15:05:26Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Greg Bouzakis # Contributor: Alexander Fehr # Contributor: Philipp Giebel pkgname=keepassx pkgver=0.4.3 pkgrel=4.1 pkgdesc='Password manager' arch=('i686' 'x86_64' 'mips64el') url='http://www.keepassx.org' license=('GPL2') depends=('libxtst' 'qt4' 'shared-mime-info') install=keepassx.install source=(http://downloads.sourceforge.net/keepassx/$pkgname-$pkgver.tar.gz) md5sums=('1df67bb22b2e08df49f09e61d156f508') build() { cd $srcdir/$pkgname-$pkgver sed -i '1,1i#include ' src/lib/random.cpp qmake-qt4 make } package() { cd $srcdir/$pkgname-$pkgver make INSTALL_ROOT=$pkgdir install }