blob: fe188ebd445fec949b5167b81ddf87c642df156f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Contributor: August Klein <amatcoder@gmail.com>
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
pkgname=keepassxc
pkgver=2.5.3
pkgrel=2
pkgdesc="Community-driven port of the Windows application Keepass Password Safe"
url="https://keepassxc.org/"
arch="all"
license="GPL-2.0-only OR GPL-3.0-only"
depends="hicolor-icon-theme"
makedepends="argon2-dev cmake libgcrypt-dev libqrencode-dev libsodium-dev
libxi-dev libxtst-dev qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev
qt5-qtx11extras-dev zlib-dev quazip-dev yubico-c-dev ykpers-dev"
source="https://github.com/keepassxreboot/keepassxc/releases/download/$pkgver/keepassxc-$pkgver-src.tar.xz"
subpackages="$pkgname-doc"
provides="dbus:org.freedesktop.Secrets"
# Smallest priority, unusual setup
provider_priority=5
build() {
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=None \
-DKEEPASSXC_BUILD_TYPE=RelWithDebInfo \
-DWITH_XC_AUTOTYPE=ON \
-DWITH_XC_NETWORKING=ON \
-DWITH_XC_BROWSER=ON \
-DWITH_XC_YUBIKEY=ON \
-DWITH_XC_SSHAGENT=ON \
-DWITH_XC_KEESHARE=ON \
-DWITH_XC_UPDATECHECK=OFF \
-DWITH_XC_FDOSECRETS=ON
make
}
package() {
make DESTDIR="$pkgdir" install
install -d "$pkgdir"/usr/share/doc/$pkgname/ \
"$pkgdir"/usr/share/licenses/$pkgname/
install -t "$pkgdir"/usr/share/doc/$pkgname/ \
"$builddir"/CHANGELOG.md "$builddir"/README.md
}
check() {
make test
}
sha512sums="8b1e3360b4ae5de170be6936291f7b309de09b2462fcd5a48f239c22f1c8b6ffe721aca8d1e9b6ae3881f7b16374850d7f4b809733244fd16d45eed6ad4f60c6 keepassxc-2.5.3-src.tar.xz"
|