desktop/keepassx/PKGBUILD
2016-02-05 23:23:18 +01:00

33 lines
779 B
Bash

pkgname=keepassx
pkgver=2.0.2
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=('204bdcf49c72078cd6f02b4f29b062923cca9e7b2d3551f2bf352763daa236b8')
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
}