summaryrefslogtreecommitdiff
path: root/community/keepassx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/keepassx/PKGBUILD')
-rw-r--r--community/keepassx/PKGBUILD29
1 files changed, 18 insertions, 11 deletions
diff --git a/community/keepassx/PKGBUILD b/community/keepassx/PKGBUILD
index 5c5b073d7..6600013ce 100644
--- a/community/keepassx/PKGBUILD
+++ b/community/keepassx/PKGBUILD
@@ -1,22 +1,29 @@
-# $Id: PKGBUILD 65610 2012-02-21 09:36:40Z spupykin $
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# $Id: PKGBUILD 80120 2012-11-16 16:43:09Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Greg Bouzakis <gregbouzakis@gmail.com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Philipp Giebel <arch@ambience-design.net>
pkgname=keepassx
pkgver=0.4.3
-pkgrel=2
-pkgdesc="Cross platform password manager"
+pkgrel=3
+pkgdesc='Password manager'
arch=('i686' 'x86_64' 'mips64el')
-url="http://www.keepassx.org/"
+url='http://www.keepassx.org'
license=('GPL2')
-depends=('qt' 'libxtst')
-source=(http://downloads.sourceforge.net/keepassx/keepassx-$pkgver.tar.gz)
+depends=('libxtst' 'qt' 'shared-mime-info')
+install=keepassx.install
+source=(http://downloads.sourceforge.net/keepassx/$pkgname-$pkgver.tar.gz)
md5sums=('1df67bb22b2e08df49f09e61d156f508')
build() {
- cd "$srcdir/keepassx-$pkgver"
+ cd $srcdir/$pkgname-$pkgver
+ sed -i '1,1i#include <unistd.h>' src/lib/random.cpp
+ qmake
+ make
+}
- qmake PREFIX=/usr
- make
- make INSTALL_ROOT="$pkgdir" install
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make INSTALL_ROOT=$pkgdir install
}