pkgname=keepassx pkgver=2.0.3 pkgrel=1 pkgdesc="Cross platform password manager" arch=('x86_64') url="http://www.keepassx.org/" license=('GPL2') depends=('qt' 'libxtst' 'libgcrypt' 'zlib') makedepends=('cmake') categories=('utils') source=("https://www.keepassx.org/releases/$pkgver/keepassx-$pkgver.tar.gz") sha256sums=('23ffb4ae360c58aa139943442d175bc6b8f08e6a876ae76c4543ab983a6647c5') prepare() { cd "$srcdir/keepassx-$pkgver" mkdir -p build cd build } build() { cd "$srcdir/keepassx-$pkgver/build" cmake -DCMAKE_INSTALL_PREFIX=/usr ../ make } package() { cd "$srcdir/keepassx-$pkgver/build" make DESTDIR="$pkgdir" install #change lib directory from /usr/lib64 to /usr/lib mv $pkgdir/usr/lib64 $pkgdir/usr/lib }