blob: 3449a231a75d7731ef0d26adbae085aad36656ef (
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
52
53
54
55
56
57
58
59
|
# Maintainer: Chih-Hsuan Yen <yan12125@gmail.com>
# Contributor: Daniel Landau <daniel@landau.fi>
# Contributor: Maxqia <contrib@maxqia.com>
# The following people have contributed to keepassx-git package
# Contributor: Lev Lybin <aur@devtrue.net>
# Contributor: Jamie Macdonald <jamie.alban@gmail.com>
# Contributor: Alucryd <alucryd at gmail dot com>
# Contributor: Paolo Stivanin <admin at polslinux dot it>
pkgname=keepassxc-git
_gitname=keepassxc
pkgver=2.7.1.r183.g263ce204
pkgrel=1
pkgdesc="Cross-platform community-driven port of KeePass Password Safe"
arch=('i686' 'x86_64')
url="https://github.com/keepassxreboot/keepassxc"
license=('GPL2')
depends=('qt5-base' 'qt5-x11extras' 'qt5-translations' 'qt5-imageformats'
'libxtst' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils'
'libusb' 'pcsclite' 'qt5-svg' 'qrencode' 'minizip'
'zlib' 'botan')
makedepends=('git' 'intltool' 'cmake' 'qt5-tools' 'asciidoctor')
checkdepends=('xorg-server-xvfb' 'xclip')
provides=('org.freedesktop.secrets' "keepassxc=$pkgver")
conflicts=('keepassxc')
replaces=('keepassx-http' 'keepassx-reboot-git')
options=(!emptydirs)
source=(git+https://github.com/keepassxreboot/keepassxc.git#branch=develop)
md5sums=('SKIP')
pkgver() {
cd "${_gitname}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${_gitname}"
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_BINDIR=/usr/bin \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_VERBOSE_MAKEFILE=OFF \
-DWITH_GUI_TESTS=ON \
-DWITH_XC_ALL=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
make -C build
}
#check() {
# cd "${_gitname}/build"
# xvfb-run --auto-display make test
#}
package() {
cd "${_gitname}/build"
make DESTDIR="${pkgdir}" install
}
|