-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keepassxc-git: update for Botan and cleanups
- Loading branch information
Chih-Hsuan Yen
committed
Apr 6, 2021
1 parent
0c0964d
commit 947e560
Showing
1 changed file
with
10 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Maintainer: Daniel Landau <[email protected]> | ||
# Maintainer: Chih-Hsuan Yen <[email protected]> | ||
# Contributor: Daniel Landau <[email protected]> | ||
# Contributor: Maxqia <[email protected]> | ||
|
||
# The following people have contributed to keepassx-git package | ||
|
@@ -9,7 +10,7 @@ | |
|
||
pkgname=keepassxc-git | ||
_gitname=keepassxc | ||
pkgver=2.6.3.r106.g86ddd702 | ||
pkgver=2.6.3.r108.ged0ece30 | ||
pkgrel=1 | ||
pkgdesc="Cross-platform community-driven port of KeePass Password Safe" | ||
arch=('i686' 'x86_64') | ||
|
@@ -18,7 +19,7 @@ license=('GPL2') | |
depends=('qt5-base' 'qt5-x11extras' 'qt5-translations' 'qt5-imageformats' | ||
'libxtst' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils' | ||
'yubikey-personalization' 'qt5-svg' 'qrencode' 'quazip' | ||
'libsodium' 'libgcrypt' 'argon2' 'zlib') | ||
'zlib' 'botan') | ||
makedepends=('git' 'intltool' 'cmake' 'qt5-tools' 'asciidoctor') | ||
checkdepends=('xorg-server-xvfb' 'xclip') | ||
provides=(org.freedesktop.secrets) | ||
|
@@ -30,26 +31,21 @@ md5sums=('SKIP') | |
|
||
pkgver() { | ||
cd "${_gitname}" | ||
git describe --long | sed 's/^FOO-//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
prepare() { | ||
cd "${_gitname}" | ||
mkdir -p build | ||
sed -i'' -e 's:/usr/local/share/man/:${CMAKE_INSTALL_MANDIR}/:' src/cli/CMakeLists.txt | ||
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd "${_gitname}/build" | ||
cmake -DCMAKE_INSTALL_PREFIX=/usr \ | ||
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 \ | ||
-DWITH_XC_KEESHARE_SECURE=ON \ | ||
-DCMAKE_BUILD_TYPE=RelWithDebInfo .. | ||
make | ||
-DCMAKE_BUILD_TYPE=RelWithDebInfo | ||
make -C build | ||
} | ||
|
||
#check() { | ||
|