desktop/keepassx/PKGBUILD

34 lines
780 B
Bash
Raw Normal View History

2010-07-12 03:27:46 +08:00
pkgname=keepassx
2016-10-11 02:13:56 +08:00
pkgver=2.0.3
2015-12-07 18:32:17 +08:00
pkgrel=1
2010-07-12 03:27:46 +08:00
pkgdesc="Cross platform password manager"
2015-12-07 18:32:17 +08:00
arch=('x86_64')
2010-07-12 03:27:46 +08:00
url="http://www.keepassx.org/"
license=('GPL2')
2015-12-07 18:32:17 +08:00
depends=('qt' 'libxtst' 'libgcrypt' 'zlib')
makedepends=('cmake')
categories=('utils')
2015-12-07 18:32:17 +08:00
source=("https://www.keepassx.org/releases/$pkgver/keepassx-$pkgver.tar.gz")
2016-10-11 02:13:56 +08:00
sha256sums=('23ffb4ae360c58aa139943442d175bc6b8f08e6a876ae76c4543ab983a6647c5')
2015-12-07 18:32:17 +08:00
prepare() {
cd "$srcdir/keepassx-$pkgver"
mkdir -p build
cd build
}
2010-07-12 03:27:46 +08:00
build() {
2015-12-07 18:32:17 +08:00
cd "$srcdir/keepassx-$pkgver/build"
2010-07-12 03:27:46 +08:00
2015-12-07 18:32:17 +08:00
cmake -DCMAKE_INSTALL_PREFIX=/usr ../
make
2010-07-12 03:27:46 +08:00
}
2015-12-07 18:32:17 +08:00
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
2016-10-11 02:13:56 +08:00
}