# Maintainer: Chih-Hsuan Yen # Contributor: Daniel Landau # Contributor: Maxqia # The following people have contributed to keepassx-git package # Contributor: Lev Lybin # Contributor: Jamie Macdonald # Contributor: Alucryd # Contributor: Paolo Stivanin 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 }